fsck forced by the length of time since the last fsck, returns 256. this is
authorStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 15 Oct 2009 18:21:10 +0000 (18:21 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 15 Oct 2009 18:21:10 +0000 (18:21 +0000)
not a documented return value, but catching it will prevent BM from exiting
unnecessarily.

source/utils.py

index ebd5430..e111659 100644 (file)
@@ -142,7 +142,7 @@ def sysexec( cmd, log= None ):
             raise BootManagerException, "Interrupted by user"
 
     returncode= prog.wait()
-    if returncode != 0:
+    if returncode != 0 and returncode != 256:
         raise BootManagerException, "Running %s failed (rc=%d)" % (cmd,returncode)
 
     prog= None