From c5176a05061e31d429babea1beedcaade01e3b65 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Tue, 17 Mar 2020 12:44:52 -0400 Subject: [PATCH] fix dbd logic error --- pdt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdt.sh b/pdt.sh index 25a7f31..6c44b77 100644 --- a/pdt.sh +++ b/pdt.sh @@ -116,7 +116,7 @@ pdt() { if ! toot -$mastodon_account post "$*" $toot_arg; then fails+=(toot) fi - if [[ ! $dbd ]]; then + if ! $dbd; then if ! printf "post %s\n" "${dia_arg}$*" | diaspora; then fails+=(diaspora) fi -- 2.25.1