cryptsetup-generator: fix luks-* entry parsing from crypttab
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 27 Jun 2019 11:02:28 +0000 (13:02 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 28 Jun 2019 08:18:59 +0000 (10:18 +0200)
commit844d5a87c9aec9e70546a4addc4e0da9422effe0
tree6b4ebad737c356c48beda66c073f12a69f7f8260
parentcc82851c0dcd65cc737be1d95a6cae8c3dfa663e
cryptsetup-generator: fix luks-* entry parsing from crypttab

This reverts a part of commit 49fe5c099639 ('tree-wide: port various places
over to STARTSWITH_SET()') that replaced a pair of startswith() calls
with STARTSWITH_SET().

They were in fact for a different strings (device vs. name), botching
the crypttap parsing.
src/cryptsetup/cryptsetup-generator.c