about summary refs log tree commit diff
path: root/nq.c
diff options
context:
space:
mode:
Diffstat (limited to 'nq.c')
-rw-r--r--nq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nq.c b/nq.c
index 41a6cca..edc338e 100644
--- a/nq.c
+++ b/nq.c
@@ -271,6 +271,7 @@ again:
 	dup2(lockfd, 1);
 	close(lockfd);
 
+	setenv("NQJOBID", lockfile+1, 1);
 	execvp(argv[1], argv+1);
 
 	perror("execvp");