Skip to content

Commit

Permalink
qubes-rpc/qvm-move: put warning into usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Feb 15, 2022
1 parent 54546cd commit 60f967a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions qubes-rpc/qvm-copy
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ if [ "$#" -lt "$MIN_ARGS" ]; then

echo
echo "You will be prompted to select the destination qube. If FILE is a directory, it will be copied recursively."
echo "In order to avoid typing target qube name twice, use qvm-copy/qvm-move instead of qvm-copy-to-vm/qvm-move-to-vm."
exit 1
fi

Expand All @@ -72,11 +73,6 @@ if [ "$PROGRESS_TYPE" = console ] ; then
export FILECOPY_TOTAL_SIZE
fi

if [ "$TARGET_TYPE" = "vm" ]; then
echo "qvm-copy-to-vm/qvm-move-to-vm tools are deprecated," >&2
echo "use qvm-copy/qvm-move to avoid typing target qube name twice" >&2
fi

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

if [ "$OPERATION_TYPE" = "move" ] ; then
Expand Down

0 comments on commit 60f967a

Please sign in to comment.