r1.69 introduced -C in 2008 "to continue multiple transfers";
'ftp -C ftp://ftp.eu.openbsd.org/' lands in "ftp> " and turns "mget"
into "reget" by default.
r1.139 -C/resume without "proc exec" thusly was too strict.
Instead, now after recent cleanups/tweaks, prevent execution with -o.
OK millert
-/* $OpenBSD: main.c,v 1.145 2023/12/15 10:28:57 kn Exp $ */
+/* $OpenBSD: main.c,v 1.146 2023/12/23 23:03:00 kn Exp $ */
/* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */
/*
err(1, "pledge");
} else {
#ifndef SMALL
- if (!resume) {
+ if (outfile == NULL) {
if (pledge("stdio rpath wpath cpath dns tty inet proc exec fattr",
NULL) == -1)
err(1, "pledge");