Skip to content

Commit e53ff6e

Browse files
committed
close the fd!
2 parents d6752b3 + 1bb9c43 commit e53ff6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/logging.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ void _output_cmdline() {
3737
sys_write(audit_log_fd, buf, bytes);
3838
}
3939
log_info("\n");
40+
sys_close(cmdline_fd);
4041
}
4142

4243
void log_init(int ll) {

0 commit comments

Comments
 (0)