From 45c03c5b5a6f1e6e05b81215b7f5e927f9d44a2a Mon Sep 17 00:00:00 2001 From: Steven Baltakatei Sandoval Date: Sun, 28 Jun 2020 22:45:31 +0000 Subject: [PATCH 1/1] 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 --- unitproc/bktemplate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2