Blame SOURCES/tigervnc-correctly-start-vncsession-as-daemon.patch

c15992
diff --git a/unix/vncserver/vncsession.c b/unix/vncserver/vncsession.c
c15992
index 2b47f5f5..f78c096f 100644
c15992
--- a/unix/vncserver/vncsession.c
c15992
+++ b/unix/vncserver/vncsession.c
c15992
@@ -99,7 +99,7 @@ begin_daemon(void)
c15992
         return -1;
c15992
     }
c15992
 
c15992
-    if (pid == 0)
c15992
+    if (pid != 0)
c15992
         _exit(0);
c15992
 
c15992
     /* Send all stdio to /dev/null */