From ade5c5b5b13bb044f7b79f8e2298417a2f529661 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Sep 28 2020 20:39:49 +0000 Subject: Merge pull request #64 from bstinsonmhk/master make the file_mime_image search exclude symbolic links when searching… --- diff --git a/tests/p_file/02_file_mime_image.sh b/tests/p_file/02_file_mime_image.sh index 0d0c65c..c47d574 100755 --- a/tests/p_file/02_file_mime_image.sh +++ b/tests/p_file/02_file_mime_image.sh @@ -5,7 +5,7 @@ t_Log "Running $0 - checking if file can recognize image mime file type " -pngfile="$(find /usr/share/ -name '*.png' -print -quit)" +pngfile="$(find /usr/share/ -type f -name '*.png' -print -quit)" if [ -z "$pngfile" ];then t_Log "No png file found => SKIP"