aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups/files/patch-scheduler_client.c
blob: 1afe1c8fd3e692cc327f8b41c4465656fb15a253 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- scheduler/client.c.orig	2022-01-27 11:11:42 UTC
+++ scheduler/client.c
@@ -3514,8 +3514,8 @@ pipe_command(cupsd_client_t *con,	/* I - Client connec
   * Then execute the command...
   */
 
-  if (cupsdStartProcess(command, argv, envp, infile, fds[1], CGIPipes[1],
-			-1, -1, root, DefaultProfile, NULL, &pid) < 0)
+  if (!cupsdStartProcess(command, argv, envp, infile, fds[1], CGIPipes[1],
+			-1, -1, root, DefaultProfile, NULL, &pid))
   {
    /*
     * Error - can't fork!