projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bdff04
)
fix return value of 'allmydata restart'
author
Brian Warner
<warner@lothar.com>
Wed, 6 Dec 2006 02:43:52 +0000
(19:43 -0700)
committer
Brian Warner
<warner@lothar.com>
Wed, 6 Dec 2006 02:43:52 +0000
(19:43 -0700)
allmydata/scripts/runner.py
patch
|
blob
|
history
diff --git
a/allmydata/scripts/runner.py
b/allmydata/scripts/runner.py
index de2e5e1358a0786c9c7e3e631aeabf0202298a5e..ecff320198c921e8d53b8fd95880781754b35b28 100644
(file)
--- a/
allmydata/scripts/runner.py
+++ b/
allmydata/scripts/runner.py
@@
-147,9
+147,10
@@
def start(config):
rc = os.system("twistd -y %s" % tac)
if rc == 0:
print "node probably started"
+ return 0
else:
print "node probably not started"
- return 1
+
return 1
def stop(config):
basedir = config['basedir']