trivial: Print some debugging when ignoring a remote path

This commit is contained in:
Richard Hughes 2019-01-28 10:42:28 +00:00 committed by Mario Limonciello
parent 09cbacd771
commit fd826c10a0

View File

@ -170,8 +170,10 @@ fu_config_add_remotes_for_path (FuConfig *self, const gchar *path, GError **erro
g_autoptr(GDir) dir = NULL;
path_remotes = g_build_filename (path, "remotes.d", NULL);
if (!g_file_test (path_remotes, G_FILE_TEST_EXISTS))
if (!g_file_test (path_remotes, G_FILE_TEST_EXISTS)) {
g_debug ("path %s does not exist", path_remotes);
return TRUE;
}
if (!fu_config_add_inotify (self, path_remotes, error))
return FALSE;
dir = g_dir_open (path_remotes, 0, error);