Archive : Use trysudo for remote instead.

This commit is contained in:
Dmitry Voronin 2024-04-08 18:52:59 +03:00
parent 57ab874668
commit d03b16b3bd

View file

@ -248,7 +248,7 @@
if [[ "''${target//\\:/}" == *:* ]]; then if [[ "''${target//\\:/}" == *:* ]]; then
local host="''${target%%:*}" local host="''${target%%:*}"
file="''${target#*:}" file="''${target#*:}"
remote=(sudo ssh ''${host}) remote=(trysudo ssh ''${host})
fi fi
# Extract. # Extract.