]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't log a "file does not exist" error for a canceled job.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 11 Dec 2014 17:42:01 +0000 (17:42 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Thu, 11 Dec 2014 17:42:01 +0000 (17:42 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12357 a1ca3aef-8c08-0410-bb20-df032aa958be

filter/pstops.c

index bbaf758fb86f3df1880590465b8ba8b3bed8bef3..1b57014e718ce0231f5d5176d05f3c0756e488e0 100644 (file)
@@ -264,7 +264,8 @@ main(int  argc,                             /* I - Number of command-line args */
 
     if ((fp = cupsFileOpen(argv[6], "r")) == NULL)
     {
-      _cupsLangPrintError("ERROR", _("Unable to open print file"));
+      if (!JobCanceled)
+        _cupsLangPrintError("ERROR", _("Unable to open print file"));
       return (1);
     }
   }