mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 18:27:04 +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;
|
||||
|
||||
found = de;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!found)
|
||||
|
Loading…
Reference in New Issue
Block a user