Prevented sudo warning from being printed twice.