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).
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