mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
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;
|
||||
}
|
||||
if (!(outf = fopen(outfile, aflag ? "a" : "w")))
|
||||
err(exit_val, "%s", outfile);
|
||||
err(1, "%s", outfile);
|
||||
put_entries(head);
|
||||
(void)fclose(outf);
|
||||
if (uflag) {
|
||||
|
Loading…
Reference in New Issue
Block a user