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'.
This commit is contained in:
parent
c177ae2c7a
commit
6e4d39c7b3
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# 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 -- "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user