edit error message

This commit is contained in:
Jakub Kropáček 2025-07-09 08:53:27 +02:00
parent 132d5f58a4
commit 8dde6a92b1
Signed by: JustScreaMy
GPG key ID: 4EC6A2C45D75FC86

View file

@ -60,7 +60,7 @@ writeShellScriptBin "whst" ''
tmpfile="$(mktemp --suffix=.jpg)"
if ! ${curl}/bin/curl -fsSL "$url" -o "$tmpfile"; then
echo "Error: Failed to fetch image for status code $status_code" >&2
echo "Error: The status code $status_code is non existemnt :(" >&2
rm -f "$tmpfile"
exit 1
fi