@ -126,7 +126,7 @@ enable_service() {
}
set_permissions() {
sed -i '.*/#toerd/d' /etc/sudoers
sed -i '/.*#toerd/d' /etc/sudoers
echo -e "$@ #toerd" >> /etc/sudoers
echo "Permissions set\n\n" >> $logfile