summaryrefslogtreecommitdiff
path: root/hack/make/.integration-daemon-stop
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2020-01-09 18:49:11 +0100
committerSebastiaan van Stijn <github@gone.nl>2020-01-09 18:52:03 +0100
commit5dbfae694919b1aff76f360061b4065349bf1900 (patch)
tree53f708f63fbfd34d9c8132be49b4376ea08f9a02 /hack/make/.integration-daemon-stop
parenta9507c6f76627fdc092edc542d5a7ef4a6df5eec (diff)
downloaddocker-5dbfae694919b1aff76f360061b4065349bf1900.tar.gz
hack/make: ignore failure to stop apparmor
``` ---> Making bundle: .integration-daemon-stop (in bundles/test-integration) ++++ cat bundles/test-integration/docker.pid +++ kill 13137 +++ /etc/init.d/apparmor stop Leaving: AppArmorNo profiles have been unloaded. Unloading profiles will leave already running processes permanently unconfined, which can lead to unexpected situations. To set a process to complain mode, use the command line tool 'aa-complain'. To really tear down all profiles, run 'aa-teardown'." script returned exit code 255 ``` Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'hack/make/.integration-daemon-stop')
-rw-r--r--hack/make/.integration-daemon-stop2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/make/.integration-daemon-stop b/hack/make/.integration-daemon-stop
index 4f7c8acb8e..82d9c3f242 100644
--- a/hack/make/.integration-daemon-stop
+++ b/hack/make/.integration-daemon-stop
@@ -21,7 +21,7 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
if [ -e "/sys/module/apparmor/parameters/enabled" ] && [ "$(cat /sys/module/apparmor/parameters/enabled)" == "Y" ]; then
(
[ -n "$TESTDEBUG" ] && set -x
- /etc/init.d/apparmor stop
+ /etc/init.d/apparmor stop || true
)
fi
fi