1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- scheduler/subscriptions.c.orig 2016-10-03 19:55:40 UTC
+++ scheduler/subscriptions.c
@@ -1561,8 +1561,8 @@ cupsd_start_notifier(
* Create the notifier process...
*/
- if (cupsdStartProcess(command, argv, envp, fds[0], -1, NotifierPipes[1],
- -1, -1, 0, DefaultProfile, NULL, &pid) < 0)
+ if (!cupsdStartProcess(command, argv, envp, fds[0], -1, NotifierPipes[1],
+ -1, -1, 0, DefaultProfile, NULL, &pid))
{
/*
* Error - can't fork!
|