edit error message
This commit is contained in:
parent
132d5f58a4
commit
8dde6a92b1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ writeShellScriptBin "whst" ''
|
||||||
tmpfile="$(mktemp --suffix=.jpg)"
|
tmpfile="$(mktemp --suffix=.jpg)"
|
||||||
|
|
||||||
if ! ${curl}/bin/curl -fsSL "$url" -o "$tmpfile"; then
|
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"
|
rm -f "$tmpfile"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue