Exit non-zero if the tags file cannot be opened.

This commit is contained in:
Tim J. Robbins 2002-05-27 03:54:45 +00:00
parent f500ce59aa
commit 880ff11350
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97331

View File

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