show toot account
This commit is contained in:
parent
47b7494464
commit
1ebd671bfd
|
@ -142,7 +142,8 @@ echo "+++++\n"
|
|||
if [[ "$TOOT" == "1" ]]; then
|
||||
which toot > /dev/null # Check if toot is installed
|
||||
if ! [[ $? == "0" ]]; then echo "ERROR. Toot is not installed. Exiting."; cleanup 1; fi
|
||||
yes_or_no "Post it on Mastodon?"
|
||||
ACCOUNT=$(toot auth | grep ACTIVE | awk '{print $2}')
|
||||
yes_or_no "Post it on Mastodon (as $ACCOUNT)?"
|
||||
fi
|
||||
|
||||
cleanup 0
|
Loading…
Reference in New Issue