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:
@@ -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" = "" ];
|
||||
|
Reference in New Issue
Block a user