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:
4ea83fa
)
or/and
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Wed, 11 Aug 2010 14:18:19 +0000
(10:18 -0400)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Wed, 11 Aug 2010 14:18:19 +0000
(10:18 -0400)
source/utils.py
patch
|
blob
|
history
diff --git
a/source/utils.py
b/source/utils.py
index
696f3f3
..
f57a0a3
100644
(file)
--- a/
source/utils.py
+++ b/
source/utils.py
@@
-159,7
+159,7
@@
def sysexec( cmd, log= None, fsck = False ):
# 16 - Usage or syntax error
# 32 - Fsck canceled by user request
# 128 - Shared library error
- if returncode != 0
or
returncode != 1:
+ if returncode != 0
and
returncode != 1:
raise BootManagerException, "Running %s failed (rc=%d)" % (cmd,returncode)
else:
if returncode != 0: