scripts: use exit 1 instead of exit 0

With this change the scripts should fail with a proper exit code (exit 1).