projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0d2e09
)
Fix erroneous exit code.
author
Carl Hetherington
<cth@carlh.net>
Mon, 5 Oct 2015 09:58:34 +0000
(10:58 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 5 Oct 2015 09:58:34 +0000
(10:58 +0100)
vmbuild
patch
|
blob
|
history
diff --git
a/vmbuild
b/vmbuild
index 038a50426798caba222ed624064bebfd7e4d5fda..09dd689c9b634c85145dab919854a0ca2708fe55 100755
(executable)
--- a/
vmbuild
+++ b/
vmbuild
@@
-28,12
+28,10
@@
ssh -p $port carl@localhost cdist -p dcpomatic -c $checkout -t host package
if [ "$output" != "" ]; then
scp -P $port carl@localhost:fedora-22-$bits/* $output/
fi
+set +e
ssh -p $port carl@localhost "sudo /sbin/poweroff"
+set -e
-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