summaryrefslogtreecommitdiff
path: root/monitor/gdu
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-05-01 17:23:01 -0400
committerDavid Zeuthen <davidz@redhat.com>2009-05-01 17:23:01 -0400
commit59dd3b33a71a930651f23142e2a7d7e57727144f (patch)
tree676d0794ddb9948b8972e08f6fc3e916fc4795e5 /monitor/gdu
parent3f3f21fe6e2bdac8fd6acf048da6fb228adde092 (diff)
downloadgvfs-59dd3b33a71a930651f23142e2a7d7e57727144f.tar.gz
Fix bug where drives are not ignored as they ought to be
This should fix part of https://bugzilla.redhat.com/show_bug.cgi?id=498649#c14 (the other part is fixed in the Fedora livecd scripts)
Diffstat (limited to 'monitor/gdu')
-rw-r--r--monitor/gdu/ggduvolumemonitor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/monitor/gdu/ggduvolumemonitor.c b/monitor/gdu/ggduvolumemonitor.c
index 2c1f727b..df42249b 100644
--- a/monitor/gdu/ggduvolumemonitor.c
+++ b/monitor/gdu/ggduvolumemonitor.c
@@ -833,8 +833,10 @@ should_drive_be_ignored (GduPool *pool, GduDrive *d, GList *fstab_mount_points)
goto out;
}
- if (gdu_device_get_presentation_hide (device))
+ if (gdu_device_get_presentation_hide (device)) {
+ ignored = TRUE;
goto out;
+ }
has_volumes = FALSE;
all_volumes_are_ignored = TRUE;