From 88bdb888586ff96a3a2335244327f7336adab2a5 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 15 Oct 2024 12:13:25 +0200 Subject: [PATCH] tweak variable expansion in test --- init/eessi_environment_variables | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/eessi_environment_variables b/init/eessi_environment_variables index 60d69cc198..125f3e5a93 100644 --- a/init/eessi_environment_variables +++ b/init/eessi_environment_variables @@ -10,7 +10,7 @@ function error() { function show_msg { # only echo msg if EESSI_SILENT is unset msg=$1 - if [[ -z ${EESSI_SILENT+x} ]]; then + if [[ -z ${EESSI_SILENT:+x} ]]; then echo "$msg" fi }