diff --git a/inc_functions.sh b/inc_functions.sh index c7495a238179e53fe49d097f10c95ee5528d9095..cfd41957fe3c868808835ba65ce6ca596d69f17d 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 "$*" } # ======================================================================