1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

Fix fd leak

MFC after:	3 days
This commit is contained in:
Kevin Lo 2010-11-19 10:18:58 +00:00
parent f9af8a7b9c
commit b00f982843
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215519

View File

@ -203,6 +203,7 @@ main(int argc, char **argv)
write(fd, &newline, sizeof(newline)) < 0)
warn("%s: write", ROOTKEY);
}
close(fd);
}
if (key_setsecret(secret) < 0)