From f2e59e7840b2f56fa7ef45eb2410a7a12f8f4d5a Mon Sep 17 00:00:00 2001 From: encrypt Date: Tue, 10 Apr 2018 12:24:37 +0000 Subject: [PATCH] fix on args check --- toot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toot.sh b/toot.sh index b244c19..7959d55 100644 --- a/toot.sh +++ b/toot.sh @@ -52,7 +52,7 @@ toot_post(){ image_to_toot="" -if [ -z "$@" ] +if [ $# -eq 0 ] then toot_help exit 1