fix(bktemplate):Fix vbm func. Use "$*" instead of "$@" for errmsg
[BK-2020-03.git] / unitproc / bktemplate
index 81cd17c7707e4df699415a06de749043efb18961..1ffe237c25084a0b2d9ddcaf3b9bc19078aff5b9 100755 (executable)
@@ -57,9 +57,9 @@ vbm() {
     # License: GPLv3+
     # Ref./Attrib:
 
-    if [ "$OPTION_VERBOSE" == "true" ]; then
+    if [ "$OPTION_VERBOSE" = "true" ]; then
        FUNCTION_TIME=$(date --iso-8601=ns); # Save current time in nano seconds.
-       echoerr "[$FUNCTION_TIME] ""$@"; # Display argument text.
+       echoerr "[$FUNCTION_TIME] ""$*"; # Display argument text.
     fi
 
     # End function