From e5bc7954708b629436f28d33a17ddf914d1e2a41 Mon Sep 17 00:00:00 2001 From: Mike Beaton Date: Wed, 20 Nov 2024 14:03:16 +0000 Subject: [PATCH] Fix shellcheck --- docker-apparmor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-apparmor.sh b/docker-apparmor.sh index b490c48..f530fad 100644 --- a/docker-apparmor.sh +++ b/docker-apparmor.sh @@ -4,14 +4,14 @@ # REF: https://github.com/docker/docs/pull/19638/files # REF: https://stackoverflow.com/a/20293759/795690 # -sudo tee -a /etc/apparmor.d/$(echo $HOME/bin/rootlesskit | sed -e s@^/@@ -e s@/@.@g) > /dev/null << EOF +sudo tee -a "/etc/apparmor.d/$(echo "$HOME/bin/rootlesskit" | sed -e s@^/@@ -e s@/@.@g)" > /dev/null << EOF abi , include $HOME/bin/rootlesskit flags=(unconfined) { userns, -include if exists +include if exists } EOF