From 5787cd6a47424f7d2a4f4fa041d936cf43216673 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Mon, 17 Apr 2017 14:54:42 +0200 Subject: [PATCH] Remove double output redirection, _exiterr already does >&2 --- dehydrated | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dehydrated b/dehydrated index f9a51ab..92bdeda 100755 --- a/dehydrated +++ b/dehydrated @@ -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