From ec3cf242018a2311c66ad1202e6e3a5113c3f0f1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 16 Jun 2024 23:13:58 +0200 Subject: do not use -- with stty; although stty(1posix) says -- shall behave as normal, it does not in the GNU implementation, and stty(1posix) specifically states that it is not necessary when restoring to a save configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- ffmpeg/resize-and-transcode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg/resize-and-transcode b/ffmpeg/resize-and-transcode index 2b7b962..cecad85 100755 --- a/ffmpeg/resize-and-transcode +++ b/ffmpeg/resize-and-transcode @@ -102,7 +102,7 @@ fi ttysetting="$(stty -g)" ffmpeg -i "$input" $scale $codec -c:a copy -- "$output" ret=$? -stty -- "$ttysetting" +stty "$ttysetting" if test $ret = 0; then oldsize=$(stat -c '%s' -- "$input") -- cgit v1.2.3-70-g09d2