Minor correction

This commit is contained in:
Karma Riuk 2021-03-07 22:47:39 +01:00
parent d4faf04dbc
commit d391c59843

View File

@ -197,7 +197,7 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then #if '__name__' == '__main__'
shift
;;
-c|--config)
[[ -f "$2" ]] && CONFIG_PATH="$2" || echo "Error: the config file given '$2' doesn't exists." 1>&2 && exit 1
[[ -f "$2" ]] && CONFIG_PATH="$2" || (echo "Error: the config file given '$2' doesn't exists." 1>&2 && exit 1)
verbose && echo "Setting \$CONFIG_PATH to $2 (\$CONFIG_PATH=$CONFIG_PATH)"
shift 2
;;