Blob Blame Raw
From 59dd3b33a71a930651f23142e2a7d7e57727144f Mon Sep 17 00:00:00 2001
From: David Zeuthen <davidz@redhat.com>
Date: Fri, 01 May 2009 21:23:01 +0000
Subject: 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)
---
diff --git a/monitor/gdu/ggduvolumemonitor.c b/monitor/gdu/ggduvolumemonitor.c
index 2c1f727..df42249 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;
--
cgit v0.8.2