Corrected error report messages.

This commit is contained in:
Andrew Wood
2023-09-13 23:04:31 +01:00
parent 2942c312a7
commit 455f819ec0
+2 -2
View File
@@ -42,7 +42,7 @@ if ! test "${bytesTransferred}" -eq "${fileSize}"; then
exit 1
fi
if ! test "${bytesReported}" -eq "${fileSize}"; then
echo "counted ${bytesTransferred} of ${fileSize} bytes"
echo "counted ${bytesReported} of ${fileSize} bytes"
exit 1
fi
@@ -56,7 +56,7 @@ if ! test "${bytesTransferred}" -eq "${fileSize}"; then
exit 1
fi
if ! test "${bytesReported}" -eq "${fileSize}"; then
echo "stdin - counted ${bytesTransferred} of ${fileSize} bytes"
echo "stdin - counted ${bytesReported} of ${fileSize} bytes"
exit 1
fi