From: Steven Baltakatei Sandoval Date: Sun, 28 Jun 2020 22:45:31 +0000 (+0000) Subject: fix(bktemplate):Fix error in vbm conditional X-Git-Tag: 0.2.0~32 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/45c03c5b5a6f1e6e05b81215b7f5e927f9d44a2a?ds=sidebyside;hp=--cc fix(bktemplate):Fix error in vbm conditional Reference: Numerical -eq does not dereference in [..]. Expand or use string operator. https://github.com/koalaman/shellcheck/wiki/SC2170 --- 45c03c5b5a6f1e6e05b81215b7f5e927f9d44a2a diff --git a/unitproc/bktemplate b/unitproc/bktemplate index 81cd17c..b5543b3 100755 --- a/unitproc/bktemplate +++ b/unitproc/bktemplate @@ -57,7 +57,7 @@ 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. fi