From 483cc06211ffa3f44510ba15e07c92594dceb450 Mon Sep 17 00:00:00 2001 From: nuex Date: Mon, 10 Jun 2013 01:27:34 -0400 Subject: [PATCH] start a shell under sudo to support things like filename globbing --- other/examples/remote/sudo/exec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/examples/remote/sudo/exec b/other/examples/remote/sudo/exec index b4ebe4cf..90eae2da 100755 --- a/other/examples/remote/sudo/exec +++ b/other/examples/remote/sudo/exec @@ -27,4 +27,4 @@ # host="$1"; shift -ssh -q "$host" sudo "$@" +ssh -q "$host" sudo sh -c \""$@"\"