Archive : Use trysudo for remote instead.
This commit is contained in:
parent
57ab874668
commit
d03b16b3bd
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue