git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf838c
)
fsck forced by the length of time since the last fsck, returns 256. this is
author
Stephen Soltesz
<soltesz@cs.princeton.edu>
Thu, 15 Oct 2009 18:21:10 +0000
(18:21 +0000)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/source/utils.py
b/source/utils.py
index
ebd5430
..
e111659
100644
(file)
--- 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