Exit non-zero if the tags file cannot be opened.
This commit is contained in:
parent
f500ce59aa
commit
880ff11350
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97331
@ -166,7 +166,7 @@ main(argc, argv)
|
|||||||
++aflag;
|
++aflag;
|
||||||
}
|
}
|
||||||
if (!(outf = fopen(outfile, aflag ? "a" : "w")))
|
if (!(outf = fopen(outfile, aflag ? "a" : "w")))
|
||||||
err(exit_val, "%s", outfile);
|
err(1, "%s", outfile);
|
||||||
put_entries(head);
|
put_entries(head);
|
||||||
(void)fclose(outf);
|
(void)fclose(outf);
|
||||||
if (uflag) {
|
if (uflag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user