From c7685f9912e89509acff5d2db54f9b3e955df2ee Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sun, 10 Apr 2022 17:38:45 +0800
Subject: [PATCH] Update mosquitto build shell script to fix install bug
---
mqttd/lylib/proc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mqttd/lylib/proc.c b/mqttd/lylib/proc.c
index 62e9b5a..42db67b 100644
--- a/mqttd/lylib/proc.c
+++ b/mqttd/lylib/proc.c
@@ -234,7 +234,7 @@
if (0 == retVal)
{
pid_t pid = -1;
- printf("PID record file \"%s\" exist.\n", pid_file);
+ //printf("PID record file \"%s\" exist.\n", pid_file);
pid = get_daemon_pid(pid_file);
if (pid > 0) /* Process pid exist */
@@ -246,7 +246,7 @@
}
else /* Send signal to the old process get no reply. */
{
- printf("Program with PID[%d] seems exit.\n", pid);
+ printf("Program with PID[%d] already exit.\n", pid);
remove(pid_file);
return 0;
}
--
Gitblit v1.9.1