diff --git a/searchsploit b/searchsploit index 09582b173..d6a71fec6 100755 --- a/searchsploit +++ b/searchsploit @@ -905,7 +905,7 @@ if [[ "${GETPATH}" -eq 1 ]]; then fi ## File type - fileinfo="$( file -b "${location}" )" + fileinfo="$( file -b "${location}" 2>/dev/null || echo "" )" ## How long is the name? PADDING=$(( 9 - ${#name} ))