From 01d33c56410a23872d8225d622f04cfa866ed4fb Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 17 Nov 2023 15:56:29 +0100 Subject: [PATCH] modbuild: redirection fixed in get_yaml_file_fmt() --- Pmodules/modbuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/modbuild.in b/Pmodules/modbuild.in index bb49235..d6b1b5b 100755 --- a/Pmodules/modbuild.in +++ b/Pmodules/modbuild.in @@ -511,7 +511,7 @@ get_yaml_file_fmt(){ Get format version of configuration file. Print the version number to stdout if it is valid. " - ${yq} -e '.' "$1" &>- || \ + ${yq} -e '.' "$1" &>/dev/null || \ std::die 3 "%s -- %s" \ "Error in YAML config file, please check with linter" \ "$1"