forked from encrypt/toot
fix on args check
This commit is contained in:
parent
51b80d1629
commit
f2e59e7840
1 changed files with 1 additions and 1 deletions
2
toot.sh
2
toot.sh
|
@ -52,7 +52,7 @@ toot_post(){
|
||||||
|
|
||||||
image_to_toot=""
|
image_to_toot=""
|
||||||
|
|
||||||
if [ -z "$@" ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
toot_help
|
toot_help
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue