From cdb6fb9ac1940d61e8e444a16f95e407f530bb7b Mon Sep 17 00:00:00 2001 From: matlink Date: Tue, 11 Nov 2014 14:43:52 +0100 Subject: [PATCH] fix su_passwd checking bug --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 0164012..89f8618 100644 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,7 @@ if [[ ! $? -eq 0 ]]; then fi #check if su_password is not empty -if [[ -n "$su_passwd" ]]; then +if [[ -z "$su_passwd" ]]; then exit 1 fi