Fix bad output by firefox screenshot script. - annna - Annna the nice friendly … | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit b4756e7272204ec1db54f03a62e3ffd85dcf3468 | |
parent a01ffd9dc8a514a8a8cee1686624d8553400ff1c | |
Author: Annna Robert-Houdin <[email protected]> | |
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(-) | |
--- | |
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 | |