Regardless of SMALL and other command flags, 'ftp -o - URL [file|URL ...]'
only processes the first URL and exists.
Only standard output is written to and modifying 'struct stat' properties
as per pledge(2) "fattr" don't apply.
OK millert
-/* $OpenBSD: main.c,v 1.142 2023/11/30 14:51:32 kn Exp $ */
+/* $OpenBSD: main.c,v 1.143 2023/11/30 14:52:00 kn Exp $ */
/* $NetBSD: main.c,v 1.24 1997/08/18 10:20:26 lukem Exp $ */
/*
if (argc > 0) {
if (isurl(argv[0])) {
if (pipeout) {
- if (pledge("stdio rpath dns tty inet fattr",
+ if (pledge("stdio rpath dns tty inet",
NULL) == -1)
err(1, "pledge");
} else {