scripts/sha512sum.sh: output error message to stderr
This commit is contained in:
parent
0f3e660842
commit
f1c23b3b3c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user