]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fix return value of 'allmydata restart'
authorBrian Warner <warner@lothar.com>
Wed, 6 Dec 2006 02:43:52 +0000 (19:43 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 6 Dec 2006 02:43:52 +0000 (19:43 -0700)
allmydata/scripts/runner.py

index de2e5e1358a0786c9c7e3e631aeabf0202298a5e..ecff320198c921e8d53b8fd95880781754b35b28 100644 (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']