Setting eval to 1 after calling warn was the original behaviour.
This commit is contained in:
parent
aad076cc73
commit
4320b92868
@ -42,7 +42,7 @@ static const char copyright[] =
|
|||||||
static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 5/4/95";
|
static char sccsid[] = "@(#)head.c 8.2 (Berkeley) 5/4/95";
|
||||||
#endif
|
#endif
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"$Id$";
|
"$Id: head.c,v 1.7 1997/07/10 06:46:13 charnier Exp $";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@ -105,6 +105,7 @@ main(argc, argv)
|
|||||||
for (first = 1; *argv; ++argv) {
|
for (first = 1; *argv; ++argv) {
|
||||||
if ((fp = fopen(*argv, "r")) == NULL) {
|
if ((fp = fopen(*argv, "r")) == NULL) {
|
||||||
warn("%s", *argv);
|
warn("%s", *argv);
|
||||||
|
eval = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user