1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00
This commit is contained in:
Florent Fayolle 2017-11-03 15:39:49 +00:00 committed by GitHub
commit b92d5d0ff3

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