]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Don't write any FAIL messages in quiet mode.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Thu, 20 Feb 2003 16:00:16 +0000 (16:00 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Thu, 20 Feb 2003 16:00:16 +0000 (16:00 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@3397 7a7537e8-13f0-0310-91df-b6672ffda945

systemv/cupstestppd.c

index e7d550cc41535873f0d06fafe9bc9886854142cf..4caa9d7462a24b2fe0c2abced479b33fd400c292 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: cupstestppd.c,v 1.16 2003/02/20 14:19:30 mike Exp $"
+ * "$Id: cupstestppd.c,v 1.17 2003/02/20 16:00:16 mike Exp $"
  *
  *   PPD test program for the Common UNIX Printing System (CUPS).
  *
@@ -193,7 +193,8 @@ main(int  argc,                     /* I - Number of command-line arguments */
       {
         error = ppdLastError(&line);
 
-        printf(" FAIL\n      **FAIL**  Unable to open PPD file - ");
+        if (verbose >= 0)
+          printf(" FAIL\n      **FAIL**  Unable to open PPD file - ");
 
        if (error <= PPD_ALLOC_ERROR)
        {
@@ -867,5 +868,5 @@ usage(void)
 
 
 /*
- * End of "$Id: cupstestppd.c,v 1.16 2003/02/20 14:19:30 mike Exp $".
+ * End of "$Id: cupstestppd.c,v 1.17 2003/02/20 16:00:16 mike Exp $".
  */