Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run_script: fix PID file checking logic when the file is empty
This fixes issue #1075 I don't know why the elif explicitly negated the previous codnition, it's obviously not needed because else if already implies the previous condition is False. Also, whoever added the parenthesis there messed up the logic even further, before they were there, it worked okay, even if the condition was a bit more verbose than logically needed. Well, that's what you get when you blindly try to make code conform to PEP8 without actually reading it.
- Loading branch information