Fix SC2162
This commit is contained in:
parent
d6a35ccfcf
commit
3830dfdc03
@ -41,7 +41,7 @@ for file in /etc/shadow /etc/gshadow; do
|
|||||||
# Prelim checks succeeded, move forward
|
# Prelim checks succeeded, move forward
|
||||||
echo "Parsing $file for junk"
|
echo "Parsing $file for junk"
|
||||||
# Read each line in the file to iterate over it
|
# Read each line in the file to iterate over it
|
||||||
while read line; do
|
while read -r line; do
|
||||||
# This should never happen, but if for some reason we get an empty line,
|
# This should never happen, but if for some reason we get an empty line,
|
||||||
# continue
|
# continue
|
||||||
[ -z "$line" ] && continue
|
[ -z "$line" ] && continue
|
||||||
|
Loading…
Reference in New Issue
Block a user