diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-10-22 18:15:18 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-10-22 18:15:18 +0200 |
commit | 4f9e5c3017f69ba01608a5b9371cb736bc61bf0c (patch) | |
tree | 5cb66b7a15e29f596d5968df0d4babb46cd75648 | |
parent | 516ec78326293048ecaa4a9ec1b6589d926ae3d3 (diff) |
Simplify wrap ssh.
-rwxr-xr-x | xsh | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -54,11 +54,6 @@ done # FIXME: needs shell wrapper (provided by SSH but not in local use) [ -z "$V" ] || set -- "$@"\; sleep 4 -case "$HOST" in - '') - termwrapper "$@" - ;; - *) - termwrapper ssh $ssh_opts $HOST "$@" - ;; -esac +[ -z "$HOST" ] || set -- ssh $ssh_opts $HOST "$@" + +termwrapper "$@" |