For does not work on dash

IN case of dash(for example default on wheezy) for operator shold be reworked
This commit is contained in:
Evgeniy Patlan
2017-07-13 20:28:44 +03:00
committed by Daniel Theophanes
parent f6635a45ec
commit f53685ef76
+1 -1
View File
@@ -205,7 +205,7 @@ case "$1" in
if is_running; then
echo -n "Stopping $name.."
kill $(get_pid)
for i in {1..10}
for i in $(seq 1 10)
do
if ! is_running; then
break