Fix ksmb when su is returns an error