summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/conf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh
index ca25f70..73dfca4 100644
--- a/src/lib/conf.sh
+++ b/src/lib/conf.sh
@@ -71,7 +71,7 @@ check_vars() {
shift
local ret=0
for VAR in "$@"; do
- if [[ -z ${!VAR} ]]; then
+ if [[ -z ${!VAR:-} ]]; then
if [[ $(list_files $slug|wc -l) > 1 ]]; then
echo "Configure '$VAR' in one of:"
list_files $slug | sed 's/./ -> &/'