diff --git a/include/binaries b/include/binaries index 0a1ff249..291e2cdd 100644 --- a/include/binaries +++ b/include/binaries @@ -41,6 +41,7 @@ logtext "Status: Starting binary scan..." for SCANDIR in ${BINPATHS}; do logtext "Test: Check if directory exists" + ORGPATH="" if [ -d ${SCANDIR} ]; then SKIPDIR=0 if [ -L ${SCANDIR} ]; then @@ -176,7 +177,8 @@ done else logtext "Result: Directory ${SCANDIR} skipped" - Display --indent 4 --text "- ${SCANDIR}" --result SKIPPED --color YELLOW + if [ ! "${ORGPATH}" = "" ]; then TEXT="${ORGPATH} (links to ${SCANDIR})"; else TEXT="${SCANDIR}"; fi + Display --indent 4 --text "- ${TEXT}" --result SKIPPED --color YELLOW fi else Display --indent 4 --text "- ${SCANDIR}" --result "NOT FOUND" --color WHITE