[virt-tools-list] [PATCH virt-viewer] Don't print warning for missing comment in config file
Jonathon Jongsma
jjongsma at redhat.com
Fri Sep 5 16:19:11 UTC 2014
Change g_warning to g_debug as suggested by Marc-Andre
---
Pushed as trivial
src/virt-viewer-app.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index b60ce2d..80ccc3b 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -263,7 +263,7 @@ virt_viewer_app_save_config(VirtViewerApp *self)
// with the vm name so user can make sense of it later.
gchar *comment = g_key_file_get_comment(priv->config, priv->uuid, NULL, &error);
if (error) {
- g_warning("Unable to get comment from key file: %s", error->message);
+ g_debug("Unable to get comment from key file: %s", error->message);
g_clear_error(&error);
} else {
if (!comment || *comment == '\0')
--
1.9.3
More information about the virt-tools-list
mailing list