Args: Fix user config being sourced twice

This commit is contained in:
Dylan Araps 2016-12-19 15:02:02 +11:00
parent d754a15e83
commit c205fc8987
1 changed files with 2 additions and 2 deletions

View File

@ -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