Why the hell does sub exits with 1 status code when using init?