diff options
-rw-r--r-- | src/lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lists.c b/src/lists.c index 8eb0d5e..0a308c0 100644 --- a/src/lists.c +++ b/src/lists.c @@ -149,7 +149,7 @@ int lists_reload(const char *file) pthread_mutex_lock(&entry_list_mutex); lists_destroy(); ret = lists_load(file, 0); - if (!ret) + if (ret) lists_destroy(); db_invalidate_cached_results(); |