Fix regression in cli handling

This commit is contained in:
o9000
2017-09-01 18:02:35 +02:00
parent ceb6a44238
commit 120207f1f9
2 changed files with 3 additions and 1 deletions

View File

@@ -1300,6 +1300,8 @@ void add_entry(char *key, char *value)
gboolean config_read_file(const char *path)
{
fprintf(stderr, "Loading config file: %s\n", path);
FILE *fp = fopen(path, "r");
if (!fp)
return FALSE;