diff --git a/fresh.sh b/fresh.sh index 996c5de..884036e 100755 --- a/fresh.sh +++ b/fresh.sh @@ -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 }