mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-17 05:59:40 +02:00
Remove double output redirection, _exiterr already does >&2
This commit is contained in:
committed by
Lukas Schauer
parent
875c1f74e5
commit
5787cd6a47
@@ -147,7 +147,7 @@ load_config() {
|
||||
|
||||
if [[ -n "${CONFIG_D}" ]]; then
|
||||
if [[ ! -d "${CONFIG_D}" ]]; then
|
||||
_exiterr "The path ${CONFIG_D} specified for CONFIG_D does not point to a directory." >&2
|
||||
_exiterr "The path ${CONFIG_D} specified for CONFIG_D does not point to a directory."
|
||||
fi
|
||||
|
||||
for check_config_d in "${CONFIG_D}"/*.sh; do
|
||||
@@ -159,7 +159,7 @@ load_config() {
|
||||
# shellcheck disable=SC1090
|
||||
. "${check_config_d}"
|
||||
else
|
||||
_exiterr "Specified additional config ${check_config_d} is not readable or not a file at all." >&2
|
||||
_exiterr "Specified additional config ${check_config_d} is not readable or not a file at all."
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user