journalctl-authenticate: drop unnecessary safe_close()
Follow-up for 7560fffcd2.
Addresses https://github.com/systemd/systemd/pull/31879#discussion_r1539063239.
This commit is contained in:
@@ -127,7 +127,6 @@ int action_setup_keys(void) {
|
||||
n = now(CLOCK_REALTIME);
|
||||
n /= arg_interval;
|
||||
|
||||
safe_close(fd);
|
||||
fd = mkostemp_safe(k);
|
||||
if (fd < 0)
|
||||
return log_error_errno(fd, "Failed to open %s: %m", k);
|
||||
|
||||
Reference in New Issue
Block a user