From 180644f0dfeffea79953cb559d0b6ef36ebca475 Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sat, 25 Apr 2026 01:41:47 +0200 Subject: [PATCH] fix(installer): SIGPIPE crash in generate_password with pipefail `tr | head -c 32` causes tr to receive SIGPIPE when head exits early. With `set -eo pipefail`, exit code 141 kills the script right after "Configuration validated" before any passwords are generated. Co-Authored-By: Claude Opus 4.6 (1M context) --- installer/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/install.sh b/installer/install.sh index 4399182..030b2a8 100644 --- a/installer/install.sh +++ b/installer/install.sh @@ -147,7 +147,7 @@ prompt_yesno() { } generate_password() { - tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 32 + tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 32 || : } # --- Argument parsing ---