Change the verbosity levels of some messages
authorMikko Rasa <tdb@tdb.fi>
Sat, 6 Oct 2012 11:19:32 +0000 (14:19 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 6 Oct 2012 11:19:32 +0000 (14:19 +0300)
main.c

diff --git a/main.c b/main.c
index 6be83527e43da5809cace5ad328f1f0eff36f286..f62b7b0b0b6f28f7791352c75eb5d0cdee8cfefc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -356,7 +356,7 @@ char **get_device_nodes(char *dirname)
                }
                if(duplicate)
                {
-                       if(verbosity>=1)
+                       if(verbosity>=2)
                                printf("Device %s is a duplicate\n", fnbuf);
                        continue;
                }
@@ -513,7 +513,7 @@ void row_activated(GtkTreeView *list, GtkTreePath *path, GtkTreeViewColumn *colu
                pid = fork();
                if(pid==0)
                {
-                       if(verbosity>=2)
+                       if(verbosity>=1)
                        {
                                if(umount)
                                        printf("Running pumount %s\n", device->node);