From 3830dfdc03eab94ad3d20e2b9d084c0448367cdd Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 1 Dec 2024 23:30:03 -0600 Subject: [PATCH] Fix SC2162 --- wayblue-fix-89.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayblue-fix-89.sh b/wayblue-fix-89.sh index e293621..5ac3796 100755 --- a/wayblue-fix-89.sh +++ b/wayblue-fix-89.sh @@ -41,7 +41,7 @@ for file in /etc/shadow /etc/gshadow; do # Prelim checks succeeded, move forward echo "Parsing $file for junk" # 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, # continue [ -z "$line" ] && continue