]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/dnssd.c
Fix the signal handlers in the dnssd and usb backends to only use async-safe
[thirdparty/cups.git] / backend / dnssd.c
index 29e003fb2500e380d6a80279353e68f744589e87..9afdecfe8c21f9e1a01a15b80d7fc68ebc294fd8 100644 (file)
@@ -1289,7 +1289,7 @@ sigterm_handler(int sig)          /* I - Signal number (unused) */
   (void)sig;
 
   if (job_canceled)
-    exit(CUPS_BACKEND_OK);
+    _exit(CUPS_BACKEND_OK);
   else
     job_canceled = 1;
 }