mirror of
https://github.com/systemd/systemd.git
synced 2025-09-14 09:44:38 +03:00
bootctl: 'tmp' is always non-NULL
Fixes CID#1502330.
This commit is contained in:
@@ -169,7 +169,7 @@ int install_random_seed(const char *esp) {
|
|||||||
return set_system_token();
|
return set_system_token();
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
if (tmp)
|
assert(tmp);
|
||||||
(void) unlinkat(loader_dir_fd, tmp, 0);
|
(void) unlinkat(loader_dir_fd, tmp, 0);
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
Reference in New Issue
Block a user