Browse Source

fix on args check

encrypt 6 years ago
parent
commit
f2e59e7840
1 changed files with 1 additions and 1 deletions
  1. 1 1
      toot.sh

+ 1 - 1
toot.sh

@@ -52,7 +52,7 @@ toot_post(){
 
 image_to_toot=""
 
-if [ -z "$@" ]
+if [ $# -eq 0 ]
 then
     toot_help
     exit 1