From 750a34e08aa4aec573e39798e68c2139de691eb8 Mon Sep 17 00:00:00 2001 From: Toerd Date: Sat, 15 Sep 2018 23:58:00 +0200 Subject: [PATCH] Bugs fixed --- fresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }