aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-07-29 09:18:51 +0100
committeremersion <contact@emersion.fr>2018-07-29 09:19:26 +0100
commit067a496c8b429a8fe41136c651c62156f2a2a368 (patch)
tree6f6d9f67272168e3dfc6a20ce188f6f974685abd
parentf1b65b34a6caff8db7c729b6362ec57f2707aa1a (diff)
Revert "rootston: Reap child processes"
This reverts commit b6ed1f29a4dbba93eb53c32ec5492db8ee1d9343. This commit breaks xwayland.
-rw-r--r--rootston/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/rootston/main.c b/rootston/main.c
index 6f4e2612..cc3ffd3e 100644
--- a/rootston/main.c
+++ b/rootston/main.c
@@ -1,6 +1,5 @@
#define _POSIX_C_SOURCE 200112L
#include <assert.h>
-#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#include <wayland-server.h>
@@ -16,11 +15,6 @@
struct roots_server server = { 0 };
int main(int argc, char **argv) {
- if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {
- wlr_log_errno(WLR_ERROR, "Unable to install SIGCHLD handler");
- return 1;
- }
-
wlr_log_init(WLR_DEBUG, NULL);
server.config = roots_config_create_from_args(argc, argv);
server.wl_display = wl_display_create();