summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_config3
1 files changed, 1 insertions, 2 deletions
diff --git a/helpers/lh_config b/helpers/lh_config
index 5cbaa59..d4a1009 100755
--- a/helpers/lh_config
+++ b/helpers/lh_config
@@ -622,7 +622,6 @@ Local_arguments ()
;;
--ignore-system-defaults)
- _LH_IGNORE_SYSTEM_DEFAULTS="enabled"
shift
;;
@@ -660,7 +659,7 @@ Local_arguments ()
}
# Reading system configuration
-if [ -f "${SYSTEM_LH_CONFFILE}" ] && [ "${_LH_IGNORE_SYSTEM_DEFAULTS}" != "enabled" ]
+if [ -f "${SYSTEM_LH_CONFFILE}" ] && if ! In_list "--ignore-system-defaults" "${@}"
then
Echo_message "Using system defaults from ${SYSTEM_LH_CONFFILE}"
Read_conffile "${SYSTEM_LH_CONFFILE}"