diff --git a/setup/so-functions b/setup/so-functions index 5875fb8a4..03ebf53be 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1019,7 +1019,7 @@ install_cleanup() { # If Mysql is running stop it /usr/sbin/so-mysql-stop - if [[ $install_type == 'iso' ]]; then + if [[ $setup_type == 'iso' ]]; then info "Removing so-setup permission entry from sudoers file" sed -i '/so-setup/d' /etc/sudoers fi