summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-05-24 18:18:10 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-05-24 18:18:10 +0200
commit5ea1c2aff509591fd753f5769552c84b910f870e (patch)
treecaac32cba4bb5fe06c12001594acff56f68b05c4
parente4ac5deba9287ea6b66b7b9c1f4c4d2ee1cc69b4 (diff)
probe-volume: remove needless check for empty fstype
-rw-r--r--hald/linux/probing/probe-volume.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hald/linux/probing/probe-volume.c b/hald/linux/probing/probe-volume.c
index 13c775aa..02c7d53f 100644
--- a/hald/linux/probing/probe-volume.c
+++ b/hald/linux/probing/probe-volume.c
@@ -97,8 +97,7 @@ set_blkid_values (LibHalChangeSet *cs, blkid_probe pr)
if (blkid_probe_lookup_value(pr, "TYPE", &type, NULL))
type = "";
- if (!libhal_changeset_set_property_string (cs, "volume.fstype", type))
- libhal_changeset_set_property_string (cs, "volume.fstype", "");
+ libhal_changeset_set_property_string (cs, "volume.fstype", type);
HAL_DEBUG(("volume.fstype = '%s'", type));
if (blkid_probe_lookup_value(pr, "VERSION", &type_version, NULL))