gpt-auto-generator: fix duplicate backing partition check

We shouldn't exit the loop early, otherwise our duplicate backing
partition check won't work.
This commit is contained in:
Lennart Poettering
2015-10-06 09:41:02 +02:00
parent c51abd80cf
commit 42225ff62f
@@ -871,7 +871,6 @@ static int get_block_device_harder(const char *path, dev_t *dev) {
goto fallback;
found = de;
break;
}
if (!found)