don't fork off an output filter if it won't ever be used
authorThomas Ferrin <tef@ucbvax.Berkeley.EDU>
Sat, 10 Feb 1990 01:33:23 +0000 (17:33 -0800)
committerThomas Ferrin <tef@ucbvax.Berkeley.EDU>
Sat, 10 Feb 1990 01:33:23 +0000 (17:33 -0800)
SCCS-vsn: usr.sbin/lpr/lpd/printjob.c 5.11

usr/src/usr.sbin/lpr/lpd/printjob.c

index 342b0e7..347c2eb 100644 (file)
@@ -16,7 +16,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)printjob.c 5.10 (Berkeley) %G%";
+static char sccsid[] = "@(#)printjob.c 5.11 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -1158,7 +1158,7 @@ openpr()
        /*
         * Start up an output filter, if needed.
         */
        /*
         * Start up an output filter, if needed.
         */
-       if (OF) {
+       if (!remote && OF) {
                int p[2];
                char *cp;
 
                int p[2];
                char *cp;