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

+ 2 - 2
toot.sh

@@ -19,7 +19,7 @@ toot_help(){
 
 if [ -f ~/.tootrc ]
 then
-    source ~/.tootrc
+    . ~/.tootrc
 fi
 
 toot_upload_image(){
@@ -52,7 +52,7 @@ toot_post(){
 
 image_to_toot=""
 
-if [ -n "$@" ]
+if [ -z "$@" ]
 then
     toot_help
     exit 1