From cca3a2cd2096c0235dddb5982b1f05c8d4c7f916 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Thu, 15 Oct 2009 18:21:10 +0000 Subject: [PATCH] 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. --- source/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0