diff --git a/wayblue-fix-89.sh b/wayblue-fix-89.sh
index 2b3013c..ea21ef8 100755
--- a/wayblue-fix-89.sh
+++ b/wayblue-fix-89.sh
@@ -111,5 +111,7 @@ for file in /etc/shadow /etc/gshadow; do
 				"/^$name:/d" \
 				"$file"
 		fi
-	done < "$file"
+	# Not useless use of cat. We're buffering the file here to avoid conditions
+	# where we edit the file we're reading and face issues.
+	done < <(cat "$file")
 done