fix dbd logic error
authorIan Kelling <iank@fsf.org>
Tue, 17 Mar 2020 16:44:52 +0000 (12:44 -0400)
committerIan Kelling <iank@fsf.org>
Tue, 17 Mar 2020 16:44:52 +0000 (12:44 -0400)
pdt.sh

diff --git a/pdt.sh b/pdt.sh
index 25a7f31..6c44b77 100644 (file)
--- 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