1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Add quotes around password

This commit is contained in:
Florent Fayolle 2017-11-03 16:34:42 +01:00 committed by GitHub
parent 1524baf37e
commit 63223da3fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ if [[ ! $? -eq 0 ]]; then
fi
# 'password' must be >= 8 characters
if [[ $(expr length $password) -lt "8" ]]; then
if [[ $(expr length "$password") -lt "8" ]]; then
echo "Error : the password must be >= 8 characters"
exit 1
fi