container log fix

This commit is contained in:
2026-03-27 19:44:41 +00:00
parent 0e1bb83ef1
commit 3df91329de
+2 -2
View File
@@ -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
}