From 145eef86326a573f7509c677f0e78a3868a5efb6 Mon Sep 17 00:00:00 2001 From: encrypt Date: Tue, 10 Apr 2018 12:10:45 +0000 Subject: [PATCH] fixes --- toot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toot.sh b/toot.sh index 7bea839..b244c19 100644 --- a/toot.sh +++ b/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