Skip to content
Snippets Groups Projects
Commit 76fa22e4 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Remove lprintf() call from child process of fork() call on *nix

the info-level debug message "Detaching external process"... as this appears
to be the cause of background events hanging sometimes, on Linux (at least).
parent fe48a444
No related branches found
No related tags found
No related merge requests found
Pipeline #8576 passed
...@@ -1822,7 +1822,6 @@ int sbbs_t::external(const char* cmdline, int mode, const char* startup_dir) ...@@ -1822,7 +1822,6 @@ int sbbs_t::external(const char* cmdline, int mode, const char* startup_dir)
if (mode & EX_BG) /* background execution, detach child */ if (mode & EX_BG) /* background execution, detach child */
{ {
lprintf(LOG_INFO, "Detaching external process");
if (daemon(TRUE, FALSE) != 0) if (daemon(TRUE, FALSE) != 0)
lprintf(LOG_ERR, "!ERROR %d (%s) daemonizing: %s", errno, strerror(errno), argv[0]); lprintf(LOG_ERR, "!ERROR %d (%s) daemonizing: %s", errno, strerror(errno), argv[0]);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment