sysupdate: some smaller clean-ups

Nothing earth shattering, just some minor tweaks.
This commit is contained in:
Lennart Poettering
2026-06-22 14:42:30 +02:00
parent 180893f9d7
commit 39ff56374c
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ int pattern_match_many(char **patterns, const char *s, InstanceMetadata *ret) {
r = pattern_match(*p, s, &found);
if (r < 0)
return r;
if (r > 0) {
if (r != PATTERN_MATCH_NO) {
if (ret) {
*ret = found;
found = (InstanceMetadata) INSTANCE_METADATA_NULL;