diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-10-21 22:54:54 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-10-21 23:03:54 +0200 |
commit | ac5b6f512db2027931028c16d0e00755f83947d0 (patch) | |
tree | 9636b90da7d72d369fbd7b6b0a2a6d15f0e7792a /xsh | |
parent | 94d2357c843d2defc7513fe37843e3c7e9f475ac (diff) |
Tidy variable prg_su (not specific to remote use;no opts defined).
Diffstat (limited to 'xsh')
-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 |