Skip to content

Commit

Permalink
Update post2bsky.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t authored Jan 17, 2025
1 parent 199e330 commit 7bdeb24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/scripts/post2bsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ else
echo " \"response\": $response ,"
echo " \"ratelimit\": $ratelimit_str ,"
echo " \"postdata\": $post_data } ,"
} >> /tmp/bsky.jsone
} >> /tmp/bsky.json
err="$(</tmp/bsky.json)"; if [[ "${err: -1}" == "," ]]; then printf "%s\n" "${err:0:-1}" >/tmp/bsky.json; fi
exit 1
fi

0 comments on commit 7bdeb24

Please sign in to comment.