From daa358f057bb54154a940f9e3951698851a531c4 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Sun, 21 Jun 2015 08:48:19 -0400 Subject: [PATCH] use -eq --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index 76e7500..0ba08d8 100755 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -81,7 +81,7 @@ function header() { local _message="========== ${@} ========== "; echo "$(_ # Log messages when verbose is set to "1" verbose() { - if [ "${verbose}" == "1" ]; then + if [ "${verbose}" -eq "1" ]; then debug "$@" fi }