1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix mkinitrd(8) default rule boolean parsing.

This commit is contained in:
Jonas 'Sortie' Termansen 2015-10-07 21:30:12 +02:00
parent 6138e94124
commit 4ad93ec618

View file

@ -218,7 +218,7 @@ bool InclusionRules::AddRulesFromFile(FILE* fp, FILE* err, const char* fpname)
bool value;
if ( !strcmp(parameter, "true") )
value = true;
else if ( !strcmp(parameter, "true") )
else if ( !strcmp(parameter, "false") )
value = false;
else
{