fix the exit status for the proto-shell task, use WEXITSTATUS