This commit is contained in:
parent
526992f73b
commit
db1bf0d72e
1 changed files with 1 additions and 3 deletions
4
timeout
4
timeout
|
|
@ -23,7 +23,7 @@ run_script() {
|
|||
}
|
||||
|
||||
stop_delete_script() {
|
||||
kill -9 $1
|
||||
kill -9 "$1"
|
||||
rm -f "$2"
|
||||
}
|
||||
|
||||
|
|
@ -35,8 +35,6 @@ check_pid() {
|
|||
test -d "/proc/$PID/" && sleep 1 || STATUS=0
|
||||
done
|
||||
|
||||
kill -9 "$PID"
|
||||
|
||||
printf "%d" ${STATUS:-1}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue