diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-23 06:21:17 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-23 06:21:17 +0000 |
commit | 7b0b861fefec7112370ff942031bf54d9ddb61af (patch) | |
tree | 2212efcf87f9a9b18827698fed131d1460d42e76 /usr.bin | |
parent | e966f6932489f7ec6229d6994af7ffe5d52279c8 (diff) | |
download | FreeBSD-src-7b0b861fefec7112370ff942031bf54d9ddb61af.zip FreeBSD-src-7b0b861fefec7112370ff942031bf54d9ddb61af.tar.gz |
Don't make -l warn when it's not used, so we can potentially set it
all the time if we want to use "link" behavior for file URLs (and not
have fetch whine at us when they're not).
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/fetch/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c index 868a410..fb8d7c5 100644 --- a/usr.bin/fetch/main.c +++ b/usr.bin/fetch/main.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. */ -/* $Id: main.c,v 1.17 1996/08/22 21:30:51 jkh Exp $ */ +/* $Id: main.c,v 1.18 1996/08/22 23:25:24 jkh Exp $ */ #include <stdlib.h> #include <stdio.h> @@ -202,9 +202,6 @@ main(int argc, char **argv) if (mirror && restart) errx(1, "-m and -r are mutually exclusive."); - if ((ftp || http) && linkfile) - warnx("-l flag is meaningless with http or ftp URL specifications"); - output_file_name(); signal(SIGHUP, die); |