Author: dmeyer
Date: Wed Feb  1 18:06:14 2006
New Revision: 7907

Modified:
   trunk/apps/bin/freevo-autoshutdown

Log:
also check shutdown command (just in case)

Modified: trunk/apps/bin/freevo-autoshutdown
==============================================================================
--- trunk/apps/bin/freevo-autoshutdown  (original)
+++ trunk/apps/bin/freevo-autoshutdown  Wed Feb  1 18:06:14 2006
@@ -294,7 +294,10 @@
         log.warning('shutdown system')
 
         # shutdown the system
-        kaa.notifier.Process(config.shutdown_command).start()
+        if config.shutdown_command:
+            kaa.notifier.Process(config.shutdown_command).start()
+        else:
+            log.error('shutdown_command not set')
 
         # reset counter in case we hibernate
         self.shutdown_counter = 31


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to