mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue