mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 02:57:16 +03:00
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:
parent
c51abd80cf
commit
42225ff62f
@ -871,7 +871,6 @@ static int get_block_device_harder(const char *path, dev_t *dev) {
|
|||||||
goto fallback;
|
goto fallback;
|
||||||
|
|
||||||
found = de;
|
found = de;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
|
Loading…
Reference in New Issue
Block a user