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:
committed by
Daniel Theophanes
parent
f6635a45ec
commit
f53685ef76
@@ -205,7 +205,7 @@ case "$1" in
|
|||||||
if is_running; then
|
if is_running; then
|
||||||
echo -n "Stopping $name.."
|
echo -n "Stopping $name.."
|
||||||
kill $(get_pid)
|
kill $(get_pid)
|
||||||
for i in {1..10}
|
for i in $(seq 1 10)
|
||||||
do
|
do
|
||||||
if ! is_running; then
|
if ! is_running; then
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user