diff --git a/eye.sh b/eye.sh index 458e21a..49dfbfb 100755 --- a/eye.sh +++ b/eye.sh @@ -81,7 +81,7 @@ main() { LAST_COUNTS["$target"]=1 elif [ -d "$target" ]; then LAST_MODS["$target"]=0 - LAST_COUNTS["$target"]=$(find "$target" -type f 2>/dev/null | wc -l) + LAST_COUNTS["$target"]=$(find "$target" -type f | wc -l) fi blue "started watching \033[94m$target\033[0m" done