mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
localedef(1): Fix mismatch in previous commit.
delete_category is meant to replace fclose() and unlink(). This broke world. Found by: kib Pointedhat: pfg
This commit is contained in:
parent
471f963d40
commit
5f6fcdca5b
1 changed files with 0 additions and 2 deletions
|
|
@ -137,8 +137,6 @@ close_category(FILE *f)
|
|||
{
|
||||
if (fchmod(fileno(f), 0644) < 0 ||
|
||||
fclose(f) != 0) {
|
||||
(void) fclose(f);
|
||||
(void) unlink(category_file());
|
||||
errf(strerror(errno));
|
||||
delete_category(f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue