Fix incorrect multi-line if syntax

Signed-off-by: Chris Jowett <cryptk@gmail.com>