Просмотр исходного кода

Hide output of apparmor disable.

Raphael Schneeberger 7 лет назад
Родитель
Сommit
b895abdbac
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      install/hst-install-debian.sh
  2. 2 2
      install/hst-install-ubuntu.sh

+ 2 - 2
install/hst-install-debian.sh

@@ -759,8 +759,8 @@ fi
 
 if grep --quiet lxc /proc/1/environ; then
     if [ -f /etc/init.d/apparmor ]; then
-        systemctl stop apparmor
-        systemctl disable apparmor
+        systemctl stop apparmor > /dev/null 2>&1
+        systemctl disable apparmor > /dev/null 2>&1
     fi
 fi
 

+ 2 - 2
install/hst-install-ubuntu.sh

@@ -726,8 +726,8 @@ fi
 
 if grep --quiet lxc /proc/1/environ; then
     if [ -f /etc/init.d/apparmor ]; then
-        systemctl stop apparmor
-        systemctl disable apparmor
+        systemctl stop apparmor > /dev/null 2>&1
+        systemctl disable apparmor > /dev/null 2>&1
     fi
 fi