mirror of
https://git.freebsd.org/ports.git
synced 2025-06-14 17:20:29 -04:00
13 lines
468 B
C
13 lines
468 B
C
--- scheduler/client.c.orig 2016-10-03 19:55:40 UTC
|
|
+++ scheduler/client.c
|
|
@@ -3818,8 +3818,8 @@ pipe_command(cupsd_client_t *con, /* I -
|
|
* 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!
|