From 04db155a70a3e2baf91d1610bb05f921f8d37f09 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Mon, 17 Oct 2011 09:40:45 -0700 Subject: [PATCH] make sure to kill tail on exit --- tools/build_lxc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build_lxc.sh b/tools/build_lxc.sh index 42bd328..39046f0 100755 --- a/tools/build_lxc.sh +++ b/tools/build_lxc.sh @@ -282,6 +282,7 @@ if [ "$WAIT_TILL_LAUNCH" = "1" ]; then TAIL_PID=$! function kill_tail() { + kill $TAIL_PID exit 1 }