diff --git a/managers/core_option_manager.c b/managers/core_option_manager.c index 6669eaea37..88e9c6f36e 100644 --- a/managers/core_option_manager.c +++ b/managers/core_option_manager.c @@ -42,7 +42,7 @@ static bool core_option_manager_parse_variable( if (!string_is_empty(var->value)) value = strdup(var->value); - if (value) + if (!string_is_empty(value)) desc_end = strstr(value, "; "); if (!desc_end)