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:
69124f1
)
This reverts commit 69124f104991e36e254c0be4a5f8155609f1d3fe.
author
S.Çağlar Onur
<caglar@cs.princeton.edu>
Wed, 28 Jul 2010 02:45:19 +0000
(22:45 -0400)
committer
S.Çağlar Onur
<caglar@cs.princeton.edu>
Wed, 28 Jul 2010 02:45:19 +0000
(22:45 -0400)
source/steps/CheckForNewDisks.py
patch
|
blob
|
history
diff --git
a/source/steps/CheckForNewDisks.py
b/source/steps/CheckForNewDisks.py
index
072feab
..
eedc5bb
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
== 0
:
+ if already_added:
log.write( "It appears %s is part of the volume group, continuing.\n" %
device )
continue