You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
335 B
14 lines
335 B
2 years ago
|
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 */
|