From 63223da3febd7db13e50a769363ae499e0690c5b Mon Sep 17 00:00:00 2001 From: Florent Fayolle Date: Fri, 3 Nov 2017 16:34:42 +0100 Subject: [PATCH] Add quotes around password --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ed76872..3b1d067 100644 --- a/scripts/install +++ b/scripts/install @@ -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