Print "!" when trying to enable encryption with no password.

This commit is contained in:
bʰedoh₂ swé 2025-01-12 23:31:15 +05:00
parent 7ece0a814a
commit 2dc8fd391c

View File

@ -157,7 +157,11 @@ while :; do
e) e)
if [ "${enc}" -eq 0 ]; then if [ "${enc}" -eq 0 ]; then
enc=1 enc=1
echo 1 if [ -z "${DOBROHO_VECHORA_ENCRYPTION_PASSWORD}" ]; then
echo 0'!'
else
echo 1
fi
else else
enc=0 enc=0
echo 0 echo 0