mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
bootctl: 'tmp' is always non-NULL
Fixes CID#1502330.
This commit is contained in:
parent
a42909e60c
commit
3d5af17045
@ -169,8 +169,8 @@ int install_random_seed(const char *esp) {
|
||||
return set_system_token();
|
||||
|
||||
fail:
|
||||
if (tmp)
|
||||
(void) unlinkat(loader_dir_fd, tmp, 0);
|
||||
assert(tmp);
|
||||
(void) unlinkat(loader_dir_fd, tmp, 0);
|
||||
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user