about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nq.c b/nq.c
index 5c1ac74..bc12132 100644
--- a/nq.c
+++ b/nq.c
@@ -280,6 +280,7 @@ again:
 	close(lockfd);
 
 	setenv("NQJOBID", lockfile+1, 1);
+	setsid();
 	execvp(argv[1], argv+1);
 
 	perror("execvp");