diff --git a/fresh.sh b/fresh.sh index 0398719..016ce8d 100755 --- a/fresh.sh +++ b/fresh.sh @@ -125,7 +125,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 }