mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
aa-remove-unknown: mark dummy variable as such
For details, see https://www.shellcheck.net/wiki/SC2034.
This commit is contained in:
parent
cfcc271b3c
commit
8d219e1f31
@ -63,7 +63,7 @@ fi
|
|||||||
# We have to do this check because error checking awk's getline() below is
|
# 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
|
# tricky and, as is, results in an infinite loop when apparmorfs returns an
|
||||||
# error from open().
|
# 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
|
echo "ERROR: Unable to read apparmorfs profiles file" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
elif [ ! -w "$REMOVE" ] ; then
|
elif [ ! -w "$REMOVE" ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user