git://git.onelab.eu
/
bootmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
...
[bootmanager.git]
/
source
/
steps
/
CheckForNewDisks.py
diff --git
a/source/steps/CheckForNewDisks.py
b/source/steps/CheckForNewDisks.py
index
eedc5bb
..
072feab
100644
(file)
--- a/
source/steps/CheckForNewDisks.py
+++ b/
source/steps/CheckForNewDisks.py
@@
-86,7
+86,7
@@
def Run( vars, log ):
cmd = "pvdisplay %s | grep -q 'planetlab'" % lvm_partition
already_added= utils.sysexec_noerr(cmd, log)
- if already_added:
+ if already_added
== 0
:
log.write( "It appears %s is part of the volume group, continuing.\n" %
device )
continue