Skip to content

Commit

Permalink
qvm-copy-to-vm: fix handling empty target VM
Browse files Browse the repository at this point in the history
This means "default" in Qubes 4.0.

QubesOS/qubes-issues#910
  • Loading branch information
marmarek committed May 17, 2017
1 parent d73221b commit eef6bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes-rpc/qvm-copy-to-vm
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ if [ $PROGRESS_TYPE = console ] ; then
export FILECOPY_TOTAL_SIZE=$(du --apparent-size -c -- "$@" 2> /dev/null | tail -1 | cut -f 1)
fi

/usr/lib/qubes/qrexec-client-vm $VM qubes.Filecopy /usr/lib/qubes/qfile-agent "$@"
/usr/lib/qubes/qrexec-client-vm "$VM" qubes.Filecopy /usr/lib/qubes/qfile-agent "$@"

if [ "${0##*/}" = "qvm-move-to-vm" ]; then
rm -rf -- "$@"
Expand Down

0 comments on commit eef6bbe

Please sign in to comment.