bneijt / autotrash

Tool to automatically purge old trashed files
https://bneijt.nl/pr/autotrash/
GNU General Public License v3.0
77 stars 11 forks source link

Return 0 as exit code if `autotrash --install` is successful #49

Closed Jackenmen closed 1 year ago

Jackenmen commented 2 years ago

It seemed a bit odd to me to use non-zero exit code when the service gets successfully installed since it makes it impossible to detect whether there was actually an error during service installation or not. I run autotrash --install when bootstrapping my system with Ansible and while I can set it to ignore the exit code, I would rather not have to.