stop script if sudo fails