Use #!/bin/bash and && in qvm-move-to-vm

#!/bin/bash because qvm-move-to-vm sources qvm-copy-to-vm, which has
a bashism (-o pipefail).

&& is safer in case qvm-*copy*-to-vm is ever changed to call 'set +e'.
pull/5/head
Rusty Bird 8 years ago
parent c177ae2c7a
commit 6e4d39c7b3
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
# #
# The Qubes OS Project, http://www.qubes-os.org # The Qubes OS Project, http://www.qubes-os.org
# #
@ -20,6 +20,5 @@
# #
# #
set -e . qvm-copy-to-vm "$@" &&
. qvm-copy-to-vm "$@"
rm -rf -- "$@" rm -rf -- "$@"

Loading…
Cancel
Save