From 9cc3518c52b5c4f6722d466e01ae815dc9e24b22 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 5 Dec 2006 19:43:52 -0700 Subject: [PATCH] fix return value of 'allmydata restart' --- allmydata/scripts/runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'] -- 2.45.2