From 60f6cb048f2c64b7409e108f0e08e554d1347171 Mon Sep 17 00:00:00 2001 From: Toerd Date: Sun, 16 Sep 2018 00:20:52 +0200 Subject: [PATCH] Bugs fixed --- fresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }