summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
Diffstat (limited to 'extras')
-rw-r--r--extras/volume_id/lib/volume_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c
index a93ade6427..8bbbc38c32 100644
--- a/extras/volume_id/lib/volume_id.c
+++ b/extras/volume_id/lib/volume_id.c
@@ -446,7 +446,7 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size
info("signature '%s' %i detected\n", id->type, i);
if (id->force_unique_result)
force_unique_result = 1;
- if (found && force_unique_result) {
+ if (found > 0 && force_unique_result) {
info("conflicting signatures found, skip results\n");
return -1;
}