config/parser: don't return found on dontErrorOnMissing in special

fixes https://github.com/hyprwm/hyprland-plugins/issues/539
This commit is contained in:
Vaxry 2025-11-16 00:51:32 +00:00
parent 8b3da759ec
commit deea98d5b6
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -372,7 +372,7 @@ std::pair<bool, CParseResult> CConfig::configSetValueSafe(const std::string& com
if (VALUEIT != sc->values.end())
found = true;
else if (sc->descriptor->dontErrorOnMissing)
return {true, result}; // will return a success, cuz we want to ignore missing
return {false, result}; // will return a success, cuz we want to ignore missing
break;
}