base.sh: surface Docker install failures instead of swallowing them

require_docker returning non-zero was silently ignored (no set -e).
Add explicit warning so the operator sees the failure; setup.sh already
has an unconditional Docker check after base that will retry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LQJBvqzXeyuhhAcAA3Q5Wq
This commit is contained in:
Claude
2026-07-01 16:08:00 +00:00
parent 8b5a519717
commit 3d976b84e3
+1 -1
View File
@@ -31,7 +31,7 @@ install_base() {
install_glow
# ── Docker ───────────────────────────────────────────────────────────────
require_docker
require_docker || log_warning "Docker install failed — will retry after base setup"
# ── OpenSSH server ───────────────────────────────────────────────────────
_base_setup_ssh