Use && in qvm-move-to-vm

&& is safer in case qvm-*copy*-to-vm is ever changed to call 'set +e'.
This commit is contained in:
Rusty Bird 2016-02-16 08:34:06 +00:00
parent 160b05756b
commit c730340039
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -20,6 +20,5 @@
# #
# #
set -e . qvm-copy-to-vm "$@" &&
. qvm-copy-to-vm "$@"
rm -rf -- "$@" rm -rf -- "$@"