Redirect errors when searching for readlink binary

This commit is contained in:
mboelen 2014-10-19 12:30:26 +02:00
parent e54677fbd0
commit 47b2a7df33
1 changed files with 1 additions and 1 deletions

View File

@ -1183,7 +1183,7 @@
# Check for symlink
if [ -L ${sFILE} ]; then
if [ ${BINARY_SCAN_FINISHED} -eq 0 -a "${READLINKBINARY}" = "" ]; then
FIND=`which readlink`
FIND=`which readlink 2> /dev/null`
if [ ! "${FIND}" = "" ]; then logtext "Setting temporary readlinkbinary variable"; READLINKBINARY="${FIND}"; fi
fi
if [ ! "${READLINKBINARY}" = "" ]; then