From 2f16649f0ad49751b0de89920af9e16ce4eaca22 Mon Sep 17 00:00:00 2001 From: Rob Pearce Date: Thu, 23 Dec 2021 16:29:41 +1100 Subject: [PATCH] missing semicolon --- gnscli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnscli.sh b/gnscli.sh index c4eb86f..e6482fa 100755 --- a/gnscli.sh +++ b/gnscli.sh @@ -2168,7 +2168,7 @@ function checkfor() { # checkfor name [pkg_name] rv=$? if [[ $rv -ne 0 && $what == "gdate" ]]; then date --version 2>/dev/null | grep -q GNU 2>/dev/null - if [[ $? -eq 0 ]] then + if [[ $? -eq 0 ]]; then GDATE=$(which date) rv=0 fi