missing semicolon

This commit is contained in:
Rob Pearce 2021-12-23 16:29:41 +11:00
parent 4fb75769c3
commit 2f16649f0a
1 changed files with 1 additions and 1 deletions

View File

@ -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