From f1a78db8d23859f1def0b98ecd1d63623642840c Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Mon, 14 Mar 2022 14:02:37 +0100
Subject: [PATCH] fix _echo

---
 inc_functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc_functions.sh b/inc_functions.sh
index c7495a2..cfd4195 100644
--- a/inc_functions.sh
+++ b/inc_functions.sh
@@ -52,7 +52,7 @@
   # echo if there is an interactive shell
   # params  string(s)  message to log
   function _echo(){
-    test $isInteractiveShell && echo "$*"
+    test "$isInteractiveShell" = "true" && echo "$*"
   }
 
 # ======================================================================
-- 
GitLab