From 98db2366d0f41f19af176342e3fab3e90eff2733 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 28 Oct 2021 16:13:15 +0200 Subject: [PATCH] suppress error message on unimportant race condition --- upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.sh b/upload.sh index f9e4296..0571b18 100755 --- a/upload.sh +++ b/upload.sh @@ -46,7 +46,7 @@ frame_uploadprogress() { while [ ! -f "${VIDEO_FILE}" -a ! -f "${VIDEO_FILE}.upload" ]; do sleep 1 done - read size <"${VIDEO_FILE}.upload" + read size <"${VIDEO_FILE}.upload" 2>&- while [ -f "${VIDEO_FILE}.upload" ]; do stat="$(stat -c %s "$VIDEO_FILE" 2>&-)" printf '
%iMB / %iMB
\n' \ -- 2.39.2