diff --git a/redhat-init-jkoppe b/redhat-init-jkoppe index 6abeb25..1d9dea1 100755 --- a/redhat-init-jkoppe +++ b/redhat-init-jkoppe @@ -58,7 +58,7 @@ stop() { echo "Supervisord exited as expected in under $total_sleep seconds" break else - if [[ $sleep -eq "last" ]] ; then + if [[ $sleep = "last" ]] ; then echo "Supervisord still working on shutting down. We've waited roughly 60 seconds, we'll let it do its thing from here" return 1 else diff --git a/redhat-init-mingalevme b/redhat-init-mingalevme index 51a0c7e..d80f661 100755 --- a/redhat-init-mingalevme +++ b/redhat-init-mingalevme @@ -95,7 +95,7 @@ stop() { echo "Supervisord exited as expected in under $total_sleep seconds" break else - if [[ $sleep -eq "last" ]] ; then + if [[ $sleep = "last" ]] ; then echo "Supervisord still working on shutting down. We've waited roughly 60 seconds, we'll let it do its thing from here" return 1 else