aboutsummaryrefslogtreecommitdiff
path: root/src/im-sandbox.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-10 14:15:55 +0200
committerThomas White <taw@physics.org>2020-08-10 14:15:55 +0200
commit870e4e5740817bc8e8f8487e867221f51ed19d54 (patch)
tree5e986a5d4fb7831b1065a86c7ccb2400944e177a /src/im-sandbox.c
parentd15688677a6deb8898d88165f386ad828f134aa0 (diff)
indexamajig: Do not set pgid
Bad idea. Prevents Ctrl-C from working at a normal terminal. The GUI will have to find another way to kill indexamajig properly. This reverts c03df15d71cf443f44a438f6d9dd99ab8259bcd5.
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r--src/im-sandbox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index d03a1f87..32c4fc13 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -998,9 +998,6 @@ int create_sandbox(struct index_args *iargs, int n_proc, char *prefix,
return 0;
}
- setsid();
- setpgid(0, 0);
-
sb->n_processed_last_stats = 0;
sb->t_last_stats = get_monotonic_seconds();
sb->n_proc = n_proc;