summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-03 16:38:52 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-06 09:41:02 +0200
commit42225ff62fe1c2577bbb344d21f1cc5a0afcd2cc (patch)
tree65010011ca7b0a351b06607bc00bf995dae4f07e /src
parentc51abd80cf774815f57817da527639081d7002f4 (diff)
gpt-auto-generator: fix duplicate backing partition check
We shouldn't exit the loop early, otherwise our duplicate backing partition check won't work.
Diffstat (limited to 'src')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index dbb6648daa..96425c5b07 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -871,7 +871,6 @@ static int get_block_device_harder(const char *path, dev_t *dev) {
goto fallback;
found = de;
- break;
}
if (!found)