summaryrefslogtreecommitdiff
path: root/print/cups/files/patch-scheduler_subscriptions.c
blob: 9a888d8ecc56b6d73a4f619009ff40fe8000aaca (plain) (blame)
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!