Print "!" when trying to enable encryption with no password.
This commit is contained in:
parent
7ece0a814a
commit
2dc8fd391c
@ -157,7 +157,11 @@ while :; do
|
|||||||
e)
|
e)
|
||||||
if [ "${enc}" -eq 0 ]; then
|
if [ "${enc}" -eq 0 ]; then
|
||||||
enc=1
|
enc=1
|
||||||
|
if [ -z "${DOBROHO_VECHORA_ENCRYPTION_PASSWORD}" ]; then
|
||||||
|
echo 0'!'
|
||||||
|
else
|
||||||
echo 1
|
echo 1
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
enc=0
|
enc=0
|
||||||
echo 0
|
echo 0
|
||||||
|
Loading…
Reference in New Issue
Block a user