start a shell under sudo to support things like filename globbing
This commit is contained in:
parent
2acce10497
commit
483cc06211
1 changed files with 1 additions and 1 deletions
|
@ -27,4 +27,4 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
host="$1"; shift
|
host="$1"; shift
|
||||||
ssh -q "$host" sudo "$@"
|
ssh -q "$host" sudo sh -c \""$@"\"
|
||||||
|
|
Loading…
Reference in a new issue