Corrected error report messages.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user