mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +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)
|
||||
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']
|
||||
|
Loading…
Reference in New Issue
Block a user