Do not print error when using --list with broken config file

This commit is contained in:
Martin Lund 2024-05-07 19:08:10 +02:00
parent 016c81291e
commit 9066523229

View file

@ -624,7 +624,6 @@ void config_list_targets(void)
if (!g_key_file_load_from_file(keyfile, config.path, G_KEY_FILE_NONE, &error)) if (!g_key_file_load_from_file(keyfile, config.path, G_KEY_FILE_NONE, &error))
{ {
tio_error_print("Failure loading file: %s", error->message);
g_error_free(error); g_error_free(error);
return; return;
} }