=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/main.c,v retrieving revision 1.139 retrieving revision 1.140 diff -c -r1.139 -r1.140 *** src/usr.bin/ftp/main.c 2023/11/09 18:18:59 1.139 --- src/usr.bin/ftp/main.c 2023/11/22 02:16:20 1.140 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.139 2023/11/09 18:18:59 kn Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.140 2023/11/22 02:16:20 kn Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* *************** *** 640,646 **** } rval = auto_fetch(argc, argv, outfile); ! if (rval >= 0) /* -1 == connected and cd-ed */ exit(rval); } else { #ifndef SMALL --- 640,646 ---- } rval = auto_fetch(argc, argv, outfile); ! if (rval >= 0 || pipeout) /* -1 == connected and cd-ed */ exit(rval); } else { #ifndef SMALL