aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbot.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.zsh b/bot.zsh
index d3d517d..a9d0f86 100755
--- a/bot.zsh
+++ b/bot.zsh
@@ -846,7 +846,7 @@ do
help_line_counter=$((help_line_counter + 1))
done
-if [[ ${#help_general} -eq 0 ]]
+if [[ -z "${help_general}" ]]
then
log_text="Error: No 'general' header found in ${file}"
source "${units}/log.zsh"