summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 25e8a9d..ff85f78 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,12 @@ ifdef VERBOSE
endif
-check_rootpw = $(if $(strip $(ROOTPW)),,$(error No root password is set, set it as ROOTPW in your environment.))
+check_rootpw = $(if $(strip $(ROOTPW)),\
+ $(if $1,\
+ ,\
+ ),\
+ $(error No root password is set, set it as ROOTPW in your environment.) \
+)
.PHONY: help clean