Skip to contentSkip to conversation

quota-nld:remove redundant description after fix setup_sigterm_handler()

PATCH New lihaoxiang (F) 1 participant 1 message Dec 6, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quota-nld:remove redundant description after fix setup_sigterm_handler()

In the commit 06b93e5c1caf5d36d51132cb85c11a96cbdae023, it renamed the function use_pid_file to setup_sigterm_handler and excluded to store daemon's pid here. So we need to clean the corresponding note in time.

---
 quota_nld.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
quota_nld.c +1 -1
index 82e60c2..58a62af 100644
@@ -459,7 +459,7 @@ static void remove_pid(int signal)
 	exit(EXIT_SUCCESS);
 }
 
-/* Store daemon's PID into file and register its removal on SIGTERM */
+/* Register daemon's PID file removal on SIGTERM */
 static void setup_sigterm_handler(void)
 {
 	struct sigaction term_action;
Signature · 1 line
2.37.0.windows.1