[ticket/11509] Exit with the expected (non-zero) exit status on failure.

PHPBB3-11509