Also return 1 from here if we get an error

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>