prj1_tlv/lylib/proc.c
@@ -304,7 +304,7 @@ * *****************************************************************************/ int set_daemon_running(const char *pid_file) { daemonize(0, 1); daemonize(1, 1); log_nrml("Program running as daemon [PID:%d].\n", getpid()); if (record_daemon_pid(pid_file) < 0)