diff options
author | tv <tv@nomic.retiolum> | 2013-01-30 02:10:39 +0100 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-01-30 02:10:39 +0100 |
commit | e282afbe09cc5d44b1b3329a9bc199a780be7300 (patch) | |
tree | ffd32a10215eccfa73280f95a6bdb03a074dde5b /services | |
parent | 46ba0880900d5696024a615ac393d485f9adfaba (diff) |
//services/bin/services: filter boring stderr
Diffstat (limited to 'services')
-rwxr-xr-x | services/bin/services | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/services/bin/services b/services/bin/services index 957d197a..113480ee 100755 --- a/services/bin/services +++ b/services/bin/services @@ -23,4 +23,11 @@ if echo $hostname | grep -q :; then hostname=`echo $hostname | cut -d: -f1` fi +exec 3>&1 +{ ssh $options $user@$hostname -p $port +} 2>&1 1>&3 | sed ' + /^Connection to '$hostname' closed/d + /^Shared connection to '$hostname' closed/d +' +exec 3>&- |