summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-10-04 23:32:49 +0100
committerCarl Hetherington <cth@carlh.net>2015-10-04 23:32:49 +0100
commitf0d2e0980e198c6b8c15557a2d8b984bd274c589 (patch)
tree6cfee25ae898796e84a53bbdd2b6fb753ab12c61
parent706a90a48f058de509e0c4e0d020d1cedd467036 (diff)
More debug.
-rwxr-xr-xvmbuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/vmbuild b/vmbuild
index 90a9127..038a504 100755
--- a/vmbuild
+++ b/vmbuild
@@ -31,6 +31,9 @@ fi
ssh -p $port carl@localhost "sudo /sbin/poweroff"
set +e
+echo "Waiting for virtualbox to finish"
while [[ ( -d /proc/$vbox ) && ( -z `grep zombie /proc/$vbox/status` ) ]]; do
sleep 1
done
+echo "Finished"
+exit 0