Use sudo only when not already root.
This prevents issues with clush when "Defaults requiretty" is set in /etc/sudoers.