forked from bida/MastodonMegafono
fixes
This commit is contained in:
parent
0b4364e868
commit
145eef8632
1 changed files with 2 additions and 2 deletions
4
toot.sh
4
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
|
||||
|
|
Loading…
Reference in a new issue