From: Brian Warner Date: Wed, 6 Dec 2006 02:43:52 +0000 (-0700) Subject: fix return value of 'allmydata restart' X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~448 X-Git-Url: https://git.rkrishnan.org/pf/content/index.php?a=commitdiff_plain;h=9cc3518c52b5c4f6722d466e01ae815dc9e24b22;p=tahoe-lafs%2Ftahoe-lafs.git fix return value of 'allmydata restart' --- diff --git a/allmydata/scripts/runner.py b/allmydata/scripts/runner.py index de2e5e13..ecff3201 100644 --- 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']