bootctl: properly skip duplicate entries (#4048)
authorMantas Mikulėnas <grawity@gmail.com>
Tue, 30 Aug 2016 14:50:19 +0000 (17:50 +0300)
committerLennart Poettering <lennart@poettering.net>
Tue, 30 Aug 2016 14:50:19 +0000 (16:50 +0200)
commita908cf0a126a332a209670ad5c769efa231fd002
treee87df61f1d48d62174fc7143488fe60e368f2d1b
parent43f1f9a61d108ab82c189bd854b9a276aebea6ec
bootctl: properly skip duplicate entries (#4048)

'continue' is a fancy no-op here – it only skips through the inner loop,
not the outer one, so entries already in BootOrder get printed twice.

This partially reverts f939cff71577 "bootctl: various coding style
updates".
src/boot/bootctl.c