CHANGES IN V1.28.9
+ - driverless: If there are no driverless IPP printers
+ available let "driverless" terminate with exit code 0 and
+ not 1, to follow CUPS' standard of backends in discovery
+ mode terminating with 0 if there are no appropriate printers
+ found (Issue #375).
- gstoraster, foomatic-rip: Fixed Ghostscript command line for
counting pages as it took too long on PDFs from evince when
printing DjVu files (Issue #354, Pull request #371, Ubuntu
if (WIFEXITED(wait_status)) {
/* Via exit() anywhere or return() in the main() function */
exit_status = WEXITSTATUS(wait_status);
- if (exit_status)
+ if (exit_status > 1)
fprintf(stderr, "ERROR: ippfind (PID %d) stopped with status %d!\n",
ippfind_pid, exit_status);
} else if (WIFSIGNALED(wait_status) && WTERMSIG(wait_status) != SIGTERM) {
fprintf(stderr, "ERROR: ippfind (PID %d) stopped on signal %d!\n",
ippfind_pid, exit_status);
}
- if (!exit_status && debug)
+ if (exit_status < 2 && debug)
fprintf(stderr, "DEBUG: ippfind (PID %d) exited with no errors.\n",
ippfind_pid);
error:
cupsArrayDelete(service_uri_list_ipps);
cupsArrayDelete(service_uri_list_ipp);
- return (exit_status);
+ return (exit_status < 2 ? 0 : exit_status);
}
int