From: Stephen Soltesz Date: Thu, 15 Oct 2009 18:21:10 +0000 (+0000) Subject: fsck forced by the length of time since the last fsck, returns 256. this is X-Git-Tag: BootManager-4.3-14~6 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=cca3a2cd2096c0235dddb5982b1f05c8d4c7f916 fsck forced by the length of time since the last fsck, returns 256. this is not a documented return value, but catching it will prevent BM from exiting unnecessarily. --- diff --git a/source/utils.py b/source/utils.py index ebd5430..e111659 100644 --- a/source/utils.py +++ b/source/utils.py @@ -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