start a shell under sudo to support things like filename globbing
parent
2acce10497
commit
483cc06211
|
@ -27,4 +27,4 @@
|
|||
#
|
||||
|
||||
host="$1"; shift
|
||||
ssh -q "$host" sudo "$@"
|
||||
ssh -q "$host" sudo sh -c \""$@"\"
|
||||
|
|
Loading…
Reference in New Issue