diff --git a/snapcraft/commands/lxc b/snapcraft/commands/lxc index 2eb74a3f8..905323943 100755 --- a/snapcraft/commands/lxc +++ b/snapcraft/commands/lxc @@ -5,7 +5,7 @@ set -eu if [ -d /sys/kernel/security/apparmor ]; then label="$(while read -r l; do echo "$l"; done < /proc/self/attr/current)" if [ "$label" != "unconfined" ] && [ -n "${label##*(unconfined)}" ]; then - exec aa-exec -p unconfined -- "$0" "$@" + exec /usr/bin/aa-exec -p unconfined -- "$0" "$@" fi fi