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:
+1
-1
@@ -31,7 +31,7 @@ install_base() {
|
|||||||
install_glow
|
install_glow
|
||||||
|
|
||||||
# ── Docker ───────────────────────────────────────────────────────────────
|
# ── Docker ───────────────────────────────────────────────────────────────
|
||||||
require_docker
|
require_docker || log_warning "Docker install failed — will retry after base setup"
|
||||||
|
|
||||||
# ── OpenSSH server ───────────────────────────────────────────────────────
|
# ── OpenSSH server ───────────────────────────────────────────────────────
|
||||||
_base_setup_ssh
|
_base_setup_ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user