Hi Igor, all,
I had issues with the 'remove' line matching on psad's logging of bad IP addresses as folders matching the bad IP address in /var/log/psad
The quick fix for me was to add '-type f' to the find commands in /usr/lib/armbian/armbian-truncate-logs to filter to just files.
The diff is below:
The trivial diff is free for anyone to use (if anyone was worried about licensing).
Cheers,
Mark