=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/main.c,v retrieving revision 1.144 retrieving revision 1.145 diff -c -r1.144 -r1.145 *** src/usr.bin/ftp/main.c 2023/12/12 22:00:43 1.144 --- src/usr.bin/ftp/main.c 2023/12/15 10:28:57 1.145 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.144 2023/12/12 22:00:43 kn Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.145 2023/12/15 10:28:57 kn Exp $ */ /* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */ /* *************** *** 627,633 **** } rval = auto_fetch(argc, argv, outfile); ! if (rval >= 0 || pipeout) /* -1 == connected and cd-ed */ exit(rval); } else { #ifndef SMALL --- 627,634 ---- } rval = auto_fetch(argc, argv, outfile); ! /* -1 == connected and cd-ed */ ! if (rval >= 0 || outfile != NULL) exit(rval); } else { #ifndef SMALL