chiark / gitweb /
volume_id: always check for all filesystem types and skip conflicting results
[elogind.git] / extras / volume_id / lib / linux_swap.c
index c4beeab978c9dc6711577280826087d3ed198645..1698e9dbf73a0014b382d9bee38077fdc0c1a740 100644 (file)
@@ -97,5 +97,7 @@ found_label:
 
 found:
        volume_id_set_usage(id, VOLUME_ID_OTHER);
+       /* we think this is swap, but we make sure no other signatures are found */
+       id->force_unique_result = 1;
        return 0;
 }