From 89fc51f330d71ae6ec7022fd9a65ec13605bd7ed Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 23 Aug 1996 06:21:17 +0000 Subject: [PATCH] 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). --- usr.bin/fetch/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/usr.bin/fetch/main.c b/usr.bin/fetch/main.c index 868a410eb7a..fb8d7c5f223 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 #include @@ -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);