Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 0c59990

Browse files
committed
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> (cherry picked from commit 5dbfae694919b1aff76f360061b4065349bf1900) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: a070874828e1ea241e9ae15af6265725ebf05705 Component: engine
1 parent 1446140 commit 0c59990

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/engine/hack/make/.integration-daemon-stop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
1919
if [ -e "/sys/module/apparmor/parameters/enabled" ] && [ "$(cat /sys/module/apparmor/parameters/enabled)" == "Y" ]; then
2020
(
2121
[ -n "$TESTDEBUG" ] && set -x
22-
/etc/init.d/apparmor stop
22+
/etc/init.d/apparmor stop || true
2323
)
2424
fi
2525
fi

0 commit comments

Comments
 (0)