diff --git a/etc/init.d/proxysql b/etc/init.d/proxysql index 9c8313b29..585488a2d 100755 --- a/etc/init.d/proxysql +++ b/etc/init.d/proxysql @@ -82,7 +82,7 @@ start() { fi else echo "ProxySQL is already running." - exit 1 + exit 0 fi } @@ -92,7 +92,7 @@ stop() { if [ "X$pid" = "X" ] then echo "ProxySQL was not running." - exit 1 + exit 0 else # Note: we send a kill to all the processes, not just to the child for i in `pgrep proxysql` ; do