Fix bad output by firefox screenshot script. - annna - Annna the nice friendly bot.
(HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) README
---
(DIR) commit b4756e7272204ec1db54f03a62e3ffd85dcf3468
(DIR) parent a01ffd9dc8a514a8a8cee1686624d8553400ff1c
(HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Wed, 20 Jul 2022 18:11:04 +0200
Fix bad output by firefox screenshot script.
Diffstat:
M screenshot-uri | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/screenshot-uri b/screenshot-uri
@@ -20,7 +20,7 @@ pastebase="/br/gopher/paste"
cd "${pastebase}"
tmpfile="$(mktemp p-XXXXXXXXXXXXX.png)"
timeout -k 60s 60s firefox $firefoxargs --new-instance --screenshot \
- "${pastebase}/${tmpfile}" "${uri}" 2>&1 >/dev/null
+ "${pastebase}/${tmpfile}" "${uri}" >/dev/null 2>&1
# timeout(1) timed out
[ $? -eq 124 -o $? -eq 137 ] && exit 1