diff --git a/rootfs/etc/s6-overlay/scripts/cleanup b/rootfs/etc/s6-overlay/scripts/cleanup index b7e61ac..285c276 100755 --- a/rootfs/etc/s6-overlay/scripts/cleanup +++ b/rootfs/etc/s6-overlay/scripts/cleanup @@ -107,7 +107,7 @@ rm -f "$VESSELDBLOCK" # clean up Mastodon toots: -if [[ -n "$MASTODON_ACCESS_TOKEN" ]]; then +if [[ -n "$MASTODON_ACCESS_TOKEN" ]] && ! chk_disabled "$MASTODON_EXPIRE"; then /usr/share/vesselalert/masto_expire delete || true fi