about summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.c b/ui.c
index 2fbb720..115d554 100644
--- a/ui.c
+++ b/ui.c
@@ -572,8 +572,8 @@ static void notify(size_t id, const char *str) {
 	if (pid) return;
 
 	close(STDIN_FILENO);
-	dup2(procPipe[1], STDOUT_FILENO);
-	dup2(procPipe[1], STDERR_FILENO);
+	dup2(utilPipe[1], STDOUT_FILENO);
+	dup2(utilPipe[1], STDERR_FILENO);
 	execvp(util.argv[0], (char *const *)util.argv);
 	warn("%s", util.argv[0]);
 	_exit(EX_CONFIG);