]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - systemv/accept.c
Merge changes from CUPS 1.4svn-r7932.
[thirdparty/cups.git] / systemv / accept.c
index 20e3af373a4e81be8ed9b90a5a3a55b81bf23f75..6d8ba261984906f6b36c609b99ef292e6c891e02 100644 (file)
@@ -62,9 +62,9 @@ main(int  argc,                               /* I - Number of command-line arguments */
 
   cancel = 0;
 
-  if (!strcmp(command, "accept"))
+  if (!strcmp(command, "cupsaccept") || !strcmp(command, "accept"))
     op = CUPS_ACCEPT_JOBS;
-  else if (!strcmp(command, "reject"))
+  else if (!strcmp(command, "cupsreject") || !strcmp(command, "reject"))
     op = CUPS_REJECT_JOBS;
   else if (!strcmp(command, "cupsdisable") || !strcmp(command, "disable"))
     op = IPP_PAUSE_PRINTER;