Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37818756
en ru br
ALT Linux repos
S:1.11.0-alt1

Group :: Networking/Remote access
RPM: tigervnc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: FC-correctly-start-vncsession-as-daemon.patch
Download


diff --git a/unix/vncserver/vncsession.c b/unix/vncserver/vncsession.c
index 2b47f5f5..f78c096f 100644
--- a/unix/vncserver/vncsession.c
+++ b/unix/vncserver/vncsession.c
@@ -99,7 +99,7 @@ begin_daemon(void)
         return -1;
     }
 
-    if (pid == 0)
+    if (pid != 0)
         _exit(0);
 
     /* Send all stdio to /dev/null */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin