summaryrefslogtreecommitdiffstats
path: root/src/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.sh')
-rw-r--r--src/main.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main.sh b/src/main.sh
index 3a67c84..7af0810 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -125,10 +125,17 @@ _get_conf()
fi
cd "${old_dir}"
+ case "${conf_pool_gc_delay}" in *[!0-9]* | '')
+ error 1 "$(get_msg 'conf_invalid')" 'conf_pool_gc_delay'
+ esac
case "${conf_verbose}" in
- 'false' | '0' | 'off' | 'no') conf_verbose=false;;
+ 'false' | '0' | 'off' | 'no' | '') conf_verbose=false;;
*) conf_verbose=true;;
esac
+ case "${conf_gzip}" in
+ 'false' | '0' | 'off' | 'no' | '') conf_gzip=false;;
+ *) conf_gzip=true;;
+ esac
return 0
}