[PATCH virt-viewer] Don't print warning for missing comment in config file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux