1
0
forked from HPR/hpr_generator

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.
This commit is contained in:
Paul Jewell 2025-01-28 18:25:59 +00:00
parent 54ed57fd1a
commit 70f994e7e8

View File

@ -132,7 +132,7 @@ function make_hpr_sqlite_db {
return 1 return 1
fi fi
local MYSQL2SQLITE=`which mysql2sqlite` local MYSQL2SQLITE=`which mysql2sqlite 2>/dev/null`
local BIN_PATH="" local BIN_PATH=""
if [ "$MYSQL2SQLITE" = "" ]; if [ "$MYSQL2SQLITE" = "" ];