From 4fe5c3b3f767773b8bfcc7f4bdba977a12239f7e Mon Sep 17 00:00:00 2001 From: Guo Wenxue <guowenxue@gmail.com> Date: Thu, 27 Jun 2019 15:13:52 +0800 Subject: [PATCH] update hal.h to fix turn_led not definition 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