Skip to content

Commit

Permalink
Fix shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton committed Nov 20, 2024
1 parent a9a9747 commit e5bc795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-apparmor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <abi/4.0>,
include <tunables/global>
$HOME/bin/rootlesskit flags=(unconfined) {
userns,
include if exists <local/$(echo $HOME/bin/rootlesskit | sed -e s@^/@@ -e s@/@.@g)>
include if exists <local/$(echo "$HOME/bin/rootlesskit" | sed -e s@^/@@ -e s@/@.@g)>
}
EOF

Expand Down

0 comments on commit e5bc795

Please # to comment.