From 4ce9f210b3a9fcaf47bd328bd49700cd4098b2b3 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 16 Oct 2015 03:03:24 -0400 Subject: [PATCH] Quiet output from `ssh` command to remove `Connection closed` messages --- contrib/dokku_client.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/dokku_client.sh b/contrib/dokku_client.sh index 9d9fabf9d..b630ca237 100755 --- a/contrib/dokku_client.sh +++ b/contrib/dokku_client.sh @@ -93,7 +93,7 @@ if [[ ! -z $DOKKU_HOST ]]; then fi if [[ -z "$donotshift" ]]; then - ssh -t "dokku@$DOKKU_HOST" "$@" + ssh -o LogLevel=QUIET -t "dokku@$DOKKU_HOST" "$@" exit $? fi @@ -120,7 +120,7 @@ if [[ ! -z $DOKKU_HOST ]]; then fi fi # shellcheck disable=SC2086 - ssh -t "dokku@$DOKKU_HOST" $long_args "$verb" "$appname" "${args[@]}" + ssh -o LogLevel=QUIET -t "dokku@$DOKKU_HOST" $long_args "$verb" "$appname" "${args[@]}" } if [[ "$0" == "dokku" ]] || [[ "$0" == *dokku_client.sh ]] || [[ "$0" == $(which dokku) ]]; then