backport: Fix the bug in OptCheck.check() introduced in cb779a71
Use 'elif' instead of 'if' to avoid wrong self.result when self.state is 'off'. We need unit-tests for the engine checking the correctness: #79
Showing
Please
register
or
sign in
to comment