diff options
-rwxr-xr-x | xsh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,7 +100,7 @@ if [ -z "$prg_base" ]; then fi prg="$prg_base $prg_opts" -prg_remote_suu="echo -n 'Changing to root...: '; su $su_opts -c \"cd; $prg\"" +prg_su="echo -n 'Changing to root...: '; su -c \"cd; $prg\"" if [ "$SU" != 1 ]; then if [ $HOST = "localhost" ]; then @@ -113,7 +113,7 @@ else termwrapper ssh $ssh_opts $HOST $prg else if [ "$SUU" = 1 ]; then - termwrapper ssh $ssh_opts $HOST $prg_remote_suu + termwrapper ssh $ssh_opts $HOST $prg_su else termwrapper ssh $ssh_opts root@$HOST $prg fi |