mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-24 02:03:54 +03:00
Merge pull request #14382 from topimiettinen/fix-analyze-security-rootimage
analyze: badness if neither of RootImage and RootDirectory exists
This commit is contained in:
commit
9a1b3902ad
@ -306,7 +306,7 @@ static int assess_root_directory(
|
||||
assert(ret_description);
|
||||
|
||||
*ret_badness =
|
||||
empty_or_root(info->root_directory) ||
|
||||
empty_or_root(info->root_directory) &&
|
||||
empty_or_root(info->root_image);
|
||||
*ret_description = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user