hi5ato / transientlog

A transient /var/log for raspberry pi or other SD card linux.
5 stars 1 forks source link

Fix bug with systemd #2

Closed ymettier closed 7 years ago

ymettier commented 8 years ago

Hello,

When I run your script on raspbian (debian on raspberry pi - using systemd), I have a problem with the return code, that is 1 instead of 0. The problem is that you do not exit with a return code when everything goes well. In my case, when everything goes well, the return code is 1 (should be 0).

This PR fixes the problem.

Regards, Yves