start a shell under sudo to support things like filename globbing

remotes/origin/2.1
nuex 12 years ago
parent 2acce10497
commit 483cc06211
  1. 2
      other/examples/remote/sudo/exec

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

Loading…
Cancel
Save