diff --git a/common.sh b/common.sh index dd1fd71..c6ceac7 100644 --- a/common.sh +++ b/common.sh @@ -133,7 +133,7 @@ stop_containers() { if [[ "$STATUS" == "true" ]]; then warn "Stopping $c" RUNNING_CONTAINERS+=("$c") - ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" "docker stop $c" + ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" "docker stop $c" >/dev/null else log "$c already stopped" fi @@ -151,7 +151,7 @@ start_containers() { for c in "${RUNNING_CONTAINERS[@]}"; do info "Starting $c" - ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" "docker start $c" + ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" "docker start $c" >/dev/null done }