fix return value of 'allmydata restart'

This commit is contained in:
Brian Warner 2006-12-05 19:43:52 -07:00
parent 2bdff04689
commit 9cc3518c52

View File

@ -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']