2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

aa-remove-unknown: mark dummy variable as such

For details, see https://www.shellcheck.net/wiki/SC2034.
This commit is contained in:
intrigeri 2022-02-13 08:33:25 +00:00
parent cfcc271b3c
commit 8d219e1f31

View File

@ -63,7 +63,7 @@ fi
# We have to do this check because error checking awk's getline() below is
# tricky and, as is, results in an infinite loop when apparmorfs returns an
# error from open().
if ! IFS= read line < "$PROFILES" ; then
if ! IFS= read _line < "$PROFILES" ; then
echo "ERROR: Unable to read apparmorfs profiles file" 1>&2
exit 1
elif [ ! -w "$REMOVE" ] ; then