aboutsummaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@suse.com>2018-07-22 17:45:36 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-23 18:11:09 +0000
commit8569ed03056ce39e0dc163747089ed4b60b1b9b1 (patch)
treed1ab8cbae6dfc8ef27158f0b8890d2bec275e30d /hack
parent2c11e38b24942a18f43cb27d6c5145850a40be54 (diff)
downloadpodman-8569ed03056ce39e0dc163747089ed4b60b1b9b1.tar.gz
podman-8569ed03056ce39e0dc163747089ed4b60b1b9b1.tar.bz2
podman-8569ed03056ce39e0dc163747089ed4b60b1b9b1.zip
AppArmor: runtime check if it's enabled on the host
Check at runtime if AppArmor is enabled on the host. Signed-off-by: Valentin Rothberg <vrothberg@suse.com> Closes: #1128 Approved by: mheon
Diffstat (limited to 'hack')
-rwxr-xr-xhack/apparmor_tag.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/hack/apparmor_tag.sh b/hack/apparmor_tag.sh
index 6d4bec91b..0fd222210 100755
--- a/hack/apparmor_tag.sh
+++ b/hack/apparmor_tag.sh
@@ -1,7 +1,4 @@
#!/bin/bash
if pkg-config libapparmor 2> /dev/null ; then
- # Travis CI does not support AppArmor, so we cannot run tests there.
- if [ -z "$TRAVIS" ]; then
- echo apparmor
- fi
+ echo apparmor
fi