From 848346bb28de844f6c70a99356d48667849e8477 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 11 Jun 2018 19:04:42 +0200 Subject: fix matching --- odin/strm/download_youtube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odin/strm') diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index 4d351cd5..921a29a7 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube @@ -322,7 +322,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" fi ) >&1 >${transcodeStdout} 2>&2 2>${transcodeStderr} - if grep -qv "Invalid encoder type" ${transcodeStdout} ${transcodeStderr}; then + if ! grep -q "Invalid encoder type" ${transcodeStdout} ${transcodeStderr}; then printf "Successfully transcoded using transMode=%s\n" ${transMode} break fi -- cgit v1.2.3