]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
Remove double output redirection, _exiterr already does >&2
authorHerman van Rink <rink@initfour.nl>
Mon, 17 Apr 2017 12:54:42 +0000 (14:54 +0200)
committerLukas Schauer <lukas@schauer.so>
Mon, 10 Jul 2017 17:59:52 +0000 (19:59 +0200)
dehydrated

index f9a51ab40326f6b7ee7fa1247b1a3b4cbdd4b339..92bdeda8ca82d3182d9935b1b698d4b9bf90973f 100755 (executable)
@@ -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