CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2023/12/23 16:03:00

Modified files:
        usr.bin/ftp    : main.c 

Log message:
Relax -C pledge to unbreak shelling out in interactive mode

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

Reply via email to