]> Kevux Git Server - fll/commit
Update: Improve pid file handling logic.
authorKevin Day <thekevinday@gmail.com>
Wed, 29 Sep 2021 00:37:51 +0000 (19:37 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 29 Sep 2021 00:37:51 +0000 (19:37 -0500)
commit41162524c57a4c59b84cf5fc8a6c6cbc297644cf
tree2d06a4440251b09e5ee6b96b9acb02fe3ca04d0b
parent577469275fe275eb00058a592ff7058ff1db4b4e
Update: Improve pid file handling logic.

I had forgotten that this is already optional.
Change the design to detect when pid file is explicitly disabled (passing an empty string to "--pid").
This avoids the need for the process_pid variable.
level_3/controller/c/controller.c
level_3/controller/c/controller.h
level_3/controller/c/main.c
level_3/controller/c/private-controller.c