Commit c205fc89 authored by Dylan Araps's avatar Dylan Araps

Args: Fix user config being sourced twice

parent d754a15e
......@@ -3130,8 +3130,8 @@ exit 1
}
get_args() {
# Check the commandline flags early for '--config none/off'
[[ "$@" =~ --config\ ?(off|none) ]] || get_user_config 2>/dev/null
# Check the commandline flags early for '--config'
[[ "$@" =~ --config ]] || get_user_config 2>/dev/null
while [[ "$1" ]]; do
case "$1" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment