Merge pull request #25835 from decoursin/patch-1

Update apparmor error message
(cherry picked from commit e168f0b4ad)

Signed-off-by: Charles Smith <charles.smith@docker.com>
This commit is contained in:
Sven Dowideit 2016-08-22 15:47:23 +10:00 committed by Charles Smith
parent 069aa4e11a
commit 7e956837f2

View file

@ -421,7 +421,7 @@ do_install() {
if command -v apparmor_parser >/dev/null 2>&1; then
echo 'apparmor is enabled in the kernel and apparmor utils were already installed'
else
echo 'apparmor is enabled in the kernel, but apparmor_parser missing'
echo 'apparmor is enabled in the kernel, but apparmor_parser is missing. Trying to install it..'
apt_get_update
( set -x; $sh_c 'sleep 3; apt-get install -y -q apparmor' )
fi