Raise exception on sudo pass fail