diff --git a/src/networkpluginserver.cpp b/src/networkpluginserver.cpp index 7a876383023340981a90f96c2f071cf74600da37..756cff77eb544007c9356811e50be538aa868362 100644 --- a/src/networkpluginserver.cpp +++ b/src/networkpluginserver.cpp @@ -157,6 +157,7 @@ static unsigned long exec_(std::string path, const char *host, const char *port, // fork and exec pid_t pid = fork(); if ( pid == 0 ) { + setsid(); // child process exit(execv(argv[0], argv)); } else if ( pid < 0 ) {