1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-24 02:03:54 +03:00

analyze: badness if neither of RootImage and RootDirectory exists

Instead of requiring both RootImage and RootDirectory directives, give badness
points if neither is present. Fixes conversion in d737b451f.
This commit is contained in:
Topi Miettinen 2019-12-18 20:25:03 +02:00
parent ecb040643d
commit d909b40fda
No known key found for this signature in database
GPG Key ID: 87E1A51C590B0577

View File

@ -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;