bug fix, changed == to =

Fixes #5202

Fixes #5203
This commit is contained in:
Cheyenne T. Greatorex 2016-04-26 14:37:51 -04:00 committed by Pier-Hugues Pellerin
parent 6de2251809
commit ccc8d79089

View file

@ -97,7 +97,7 @@ stop() {
sleep 1
done
if status ; then
if [ "$KILL_ON_STOP_TIMEOUT" == 1 ] ; then
if [ "$KILL_ON_STOP_TIMEOUT" = 1 ] ; then
echo "Timeout reached. Killing $name (pid $pid) with SIGKILL. This may result in data loss."
kill -KILL $pid
echo "$name killed with SIGKILL."