scripts/sha512sum.sh: output error message to stderr

This commit is contained in:
Matthias Schiffer 2016-10-10 06:17:54 +02:00
parent 0f3e660842
commit f1c23b3b3c
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -11,7 +11,7 @@ elif check_command shasum; then
elif check_command cksum; then elif check_command cksum; then
ret="$(cksum -q -a sha512 "$@")" ret="$(cksum -q -a sha512 "$@")"
else else
echo "$0: no suitable sha512sum implementation was found" >&1 echo "$0: no suitable sha512sum implementation was found" >&2
exit 1 exit 1
fi fi