Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pidfile_is_running when $cmd is not passed
[ -z $string ] needs double quotes to handle zero-length strings properly. The function became a long one-liner; this patch converts it to a version that is hopefully simpler to understand. (As a bonus, it no longer violates the guideline for line length.) Fixes: 09dc486 ("Handle re-used pids in pidfile_is_running") Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org> (cherry picked from commit 6e57adf)
- Loading branch information