diff --git a/src/install+setup/libsmooth/varval.c b/src/install+setup/libsmooth/varval.c index 9a64365af..d12789097 100644 --- a/src/install+setup/libsmooth/varval.c +++ b/src/install+setup/libsmooth/varval.c @@ -151,6 +151,9 @@ int findkey(struct keyvalue *head, char *key, char *value) cur = cur->next; } + // Empty value if we could not find key. + value[0] = '\0'; + return 0; }