diff options
author | charnier <charnier@FreeBSD.org> | 1997-07-11 06:13:18 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1997-07-11 06:13:18 +0000 |
commit | 4320b928687c8a38af1fa22b6545e894f95172d2 (patch) | |
tree | 44514f672e4b3bfcddc5f0b6f2839a92d6a0a470 | |
parent | aad076cc731d8936b4bac82a9fc315d4eac56ebf (diff) | |
download | FreeBSD-src-4320b928687c8a38af1fa22b6545e894f95172d2.zip FreeBSD-src-4320b928687c8a38af1fa22b6545e894f95172d2.tar.gz |
Setting eval to 1 after calling warn was the original behaviour.
-rw-r--r-- | usr.bin/head/head.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/head/head.c b/usr.bin/head/head.c index 4fb2b0f..6326605 100644 --- a/usr.bin/head/head.c +++ b/usr.bin/head/head.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id$"; + "$Id: head.c,v 1.7 1997/07/10 06:46:13 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -105,6 +105,7 @@ main(argc, argv) for (first = 1; *argv; ++argv) { if ((fp = fopen(*argv, "r")) == NULL) { warn("%s", *argv); + eval = 1; continue; } if (argc > 1) { |