Browse code

make sure to kill tail on exit

Anthony Young authored on 2011/10/18 01:40:45
Showing 1 changed files
... ...
@@ -282,6 +282,7 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then
282 282
     TAIL_PID=$!
283 283
 
284 284
     function kill_tail() {
285
+        kill $TAIL_PID
285 286
         exit 1
286 287
     }
287 288