From 3b5953cb25adaab0c107b9f801e551f2121095dc Mon Sep 17 00:00:00 2001 From: Jonathan Baecker Date: Fri, 4 Sep 2020 12:45:25 +0200 Subject: [PATCH] stderr redirection --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3a3f4e2e..ef6decfd 100755 --- a/install.sh +++ b/install.sh @@ -41,7 +41,7 @@ runInstall() { fi fi - if [[ "$(which ffmpeg)" == *"/usr/bin/which"* ]]; then + if [[ "$(which ffmpeg 2>&1)" == *"/usr/bin/which"* ]]; then echo "" echo "------------------------------------------------------------------------------" echo "compile and install (nonfree) ffmpeg:" @@ -61,7 +61,7 @@ runInstall() { done fi - if [[ "$(which nginx)" == *"/usr/bin/which"* ]]; then + if [[ "$(which nginx 2>&1)" == *"/usr/bin/which"* ]]; then echo "" echo "------------------------------------------------------------------------------" echo "install and setup nginx:"