bug fix, changed == to =

Fixes #5202
This commit is contained in:
Cheyenne T. Greatorex 2016-04-26 14:37:51 -04:00 committed by Pier-Hugues Pellerin
parent 971c2db91d
commit c52758bdc7

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."