2f0506fd6c
The urandom|tr|head pipeline triggers SIGPIPE when head exits, causing the script to fail with set -o pipefail enabled. Temporarily disable pipefail around the password generation to avoid this false failure.