make sure to kill tail on exit
This commit is contained in:
parent
da89268c92
commit
04db155a70
1 changed files with 1 additions and 0 deletions
|
@ -282,6 +282,7 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then
|
||||||
TAIL_PID=$!
|
TAIL_PID=$!
|
||||||
|
|
||||||
function kill_tail() {
|
function kill_tail() {
|
||||||
|
kill $TAIL_PID
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue