log: enable output log to console when run as daemon.

This commit is contained in:
Nick Peng
2023-06-16 21:57:39 +08:00
parent a6e5ceb675
commit 8a9a11d6d9
3 changed files with 16 additions and 14 deletions

View File

@@ -144,7 +144,7 @@ void close_all_fd(int keepfd);
int run_daemon(void);
int daemon_kickoff(int fd, int status);
int daemon_kickoff(int fd, int status, int no_close);
int write_file(const char *filename, void *data, int data_len);