Setting eval to 1 after calling warn was the original behaviour.

This commit is contained in:
Philippe Charnier 1997-07-11 06:13:18 +00:00
parent 6451b2bfcb
commit 73f3d05336
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27328

View File

@ -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) {