start a shell under sudo to support things like filename globbing

This commit is contained in:
nuex 2013-06-10 01:27:34 -04:00
parent 2acce10497
commit 483cc06211

View file

@ -27,4 +27,4 @@
#
host="$1"; shift
ssh -q "$host" sudo "$@"
ssh -q "$host" sudo sh -c \""$@"\"