commit | cc03cc8d58514a4c88579791fdfa0559569f9818 | [log] [tgz] |
---|---|---|
author | Jesse Andrews <anotherjesse@gmail.com> | Sat Nov 05 22:54:54 2011 -0700 |
committer | Jesse Andrews <anotherjesse@gmail.com> | Sat Nov 05 22:54:54 2011 -0700 |
tree | bddf19b0d861c6098cee83d2ae13136f05bf3be3 | |
parent | 3ce79aa55bdadd4be53cee8ad9c0ef5da0ad3749 [diff] [blame] |
kill works
diff --git a/tools/build_uec.sh b/tools/build_uec.sh index b7567f6..89d4661 100755 --- a/tools/build_uec.sh +++ b/tools/build_uec.sh
@@ -168,7 +168,7 @@ # (re)start a metadata service ( pid=`lsof -iTCP@192.168.$GUEST_NETWORK.1:4567 -n | awk '{print $2}' | tail -1` - [ "$pid" == "PID" ] || kill -9 $pid + [ ! -e $pid ] || kill -9 $pid ) cd $vm_dir/uec python meta.py 192.168.$GUEST_NETWORK.1:4567 &