Fix firstBoot.sh not shutting down in case of err