From 5ac8591ae7c98e99267d65f0ad9811eb7df3df0f Mon Sep 17 00:00:00 2001 From: joshbronson Date: Mon, 18 May 2015 17:21:11 -0500 Subject: [PATCH] control stop should exit with status 0 on success --- bin/control | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/control b/bin/control index 6c1ca49..26cd42d 100755 --- a/bin/control +++ b/bin/control @@ -29,8 +29,10 @@ function stop() { if [ -f $pid ]; then kill -s SIGTERM $(cat $pid) rm $pid + else + echo $pid not found + return 1 fi - return 1 } function restart() {