log container improv
This commit is contained in:
@@ -152,7 +152,12 @@ start_containers() {
|
||||
|
||||
for c in "${RUNNING_CONTAINERS[@]}"; do
|
||||
info "Starting $c"
|
||||
ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" "docker start $c" >/dev/null
|
||||
|
||||
if ssh -i "$SSH_KEY" root@"$REMOTE_SERVER" "docker start $c" >/dev/null; then
|
||||
success "$c started"
|
||||
else
|
||||
error "Failed to start $c"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user