More vmbuild hacks.
authorCarl Hetherington <cth@carlh.net>
Sun, 4 Oct 2015 22:04:45 +0000 (23:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 4 Oct 2015 22:04:45 +0000 (23:04 +0100)
vmbuild

diff --git a/vmbuild b/vmbuild
index a3954ff44c8c7ed4518648548c43ddba4478327f..90a912770b0350d64ffd2bc85f61e555538e54a6 100755 (executable)
--- a/vmbuild
+++ b/vmbuild
@@ -29,7 +29,8 @@ if [ "$output" != "" ]; then
     scp -P $port carl@localhost:fedora-22-$bits/* $output/
 fi
 ssh -p $port carl@localhost "sudo /sbin/poweroff"
+
+set +e
 while [[ ( -d /proc/$vbox ) && ( -z `grep zombie /proc/$vbox/status` ) ]]; do
     sleep 1
 done
-exit 0