From 4c2677100744cfa66d55d5f551523231799a781b Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Thu, 14 Apr 2022 10:08:52 +0800 Subject: [PATCH] Merge branch 'master' of ssh://master.iot-yun.club:2280/framwork --- booster/util_proc.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/booster/util_proc.c b/booster/util_proc.c index 700bb65..9474851 100644 --- a/booster/util_proc.c +++ b/booster/util_proc.c @@ -209,7 +209,7 @@ { if (mkdir(ipc_dir, mode) < 0) { - log_fatal("cannot create %s: %s\n", ipc_dir, strerror(errno)); + log_err("cannot create %s: %s\n", ipc_dir, strerror(errno)); return -1; } @@ -229,7 +229,7 @@ } else { - log_fatal("cannot create %s: %s\n", pid_file, strerror(errno)); + log_err("cannot create %s: %s\n", pid_file, strerror(errno)); return -1; } @@ -257,7 +257,7 @@ } else { - log_fatal("Can't open PID record file %s: %s\n", pid_file, strerror(errno)); + log_err("Can't open PID record file %s: %s\n", pid_file, strerror(errno)); return -1; } return pid; @@ -360,7 +360,7 @@ if (record_daemon_pid(pid_file) < 0) { - log_fatal("Record PID to file \"%s\" failure.\n", pid_file); + log_err("Record PID to file \"%s\" failure.\n", pid_file); return -2; } -- Gitblit v1.9.1