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:
@@ -871,7 +871,6 @@ static int get_block_device_harder(const char *path, dev_t *dev) {
|
||||
goto fallback;
|
||||
|
||||
found = de;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!found)
|
||||
|
||||
Reference in New Issue
Block a user