mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
fix return value of 'allmydata restart'
This commit is contained in:
parent
2bdff04689
commit
9cc3518c52
@ -147,9 +147,10 @@ def start(config):
|
|||||||
rc = os.system("twistd -y %s" % tac)
|
rc = os.system("twistd -y %s" % tac)
|
||||||
if rc == 0:
|
if rc == 0:
|
||||||
print "node probably started"
|
print "node probably started"
|
||||||
|
return 0
|
||||||
else:
|
else:
|
||||||
print "node probably not started"
|
print "node probably not started"
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
def stop(config):
|
def stop(config):
|
||||||
basedir = config['basedir']
|
basedir = config['basedir']
|
||||||
|
Loading…
Reference in New Issue
Block a user