From 460843ffb394ec50da9b70e8b0c471d7f168948c Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Wed, 17 Feb 2021 11:19:38 +0100 Subject: [PATCH] Fix #51 (#58) --- bin/hardening/1.7.1.2_enable_apparmor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hardening/1.7.1.2_enable_apparmor.sh b/bin/hardening/1.7.1.2_enable_apparmor.sh index 3f00a20..a1070d5 100755 --- a/bin/hardening/1.7.1.2_enable_apparmor.sh +++ b/bin/hardening/1.7.1.2_enable_apparmor.sh @@ -78,7 +78,7 @@ apply() { IFS=$d_IFS if [ $ERROR = 1 ]; then - $SUDO_CMD sed -i "s/GRUB_CMDLINE_LINUX=\"/GRUB_CMDLINE_LINUX=\"apparmor=1 security=apparmor/" /etc/default/grub + $SUDO_CMD sed -i "s/GRUB_CMDLINE_LINUX=\"/GRUB_CMDLINE_LINUX=\"apparmor=1 security=apparmor /" /etc/default/grub $SUDO_CMD update-grub else ok "$PACKAGES are configured"