diff --git a/include/functions b/include/functions index b8e817e6..4b54a0d2 100644 --- a/include/functions +++ b/include/functions @@ -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