From 70f994e7e8ed6005abf7c3922321af8a993416a5 Mon Sep 17 00:00:00 2001 From: Paul Jewell Date: Tue, 28 Jan 2025 18:25:59 +0000 Subject: [PATCH] Hide error output from which command Local version is used if a global system version isn't found. Without this redirect, the error response from which is shown on the terminal, even though everything is OK. --- utils/lib_utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/lib_utils.sh b/utils/lib_utils.sh index a1e52cd..d38a591 100755 --- a/utils/lib_utils.sh +++ b/utils/lib_utils.sh @@ -132,7 +132,7 @@ function make_hpr_sqlite_db { return 1 fi - local MYSQL2SQLITE=`which mysql2sqlite` + local MYSQL2SQLITE=`which mysql2sqlite 2>/dev/null` local BIN_PATH="" if [ "$MYSQL2SQLITE" = "" ];