From b64f921a9fd65f8b6cc14f753a64e73c9f0d2ad7 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 6 Sep 2021 13:54:46 +0200 Subject: [PATCH] allow redirect for cammie screenshot --- local/bin/sphere.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/bin/sphere.sh b/local/bin/sphere.sh index 445a3e3..be7fd8c 100755 --- a/local/bin/sphere.sh +++ b/local/bin/sphere.sh @@ -6,7 +6,7 @@ if [ -n "$1" ]; then while [ -n "$1" ]; do case $1 in scrot) foto="$(mktemp XXXXXX.jpg)" - curl http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi \ + curl -L http://kelder.zeus.ugent.be/webcam/video/mjpg.cgi \ | ffmpeg -y -ss 0 -i - -vframes 1 -q:v 2 "$foto" feh "$foto" rm "$foto"