opnsense-ports/devel/RStudio/files/patch-src_cpp_session_SessionMain.cpp
Franco Fichtner 054ebd424e */*: sync with upstream
Taken from: FreeBSD
2023-01-09 17:44:31 +01:00

14 lines
338 B
C++

--- src/cpp/session/SessionMain.cpp.orig 2022-12-03 07:38:59 UTC
+++ src/cpp/session/SessionMain.cpp
@@ -1947,7 +1947,11 @@ int main(int argc, char * const argv[])
// move to own process group
#ifndef _WIN32
+#if defined(__FreeBSD__)
+ ::setpgrp(0, 0);
+#else
::setpgrp();
+#endif
#endif
logStartingEnv();