From 31918fdf68c6b7880c0697f257e6ec93132af5c4 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 11 Feb 2018 11:03:42 +0100 Subject: find-inodes: Force paths to be treated as paths Signed-off-by: Florian Pritz --- find-inodes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find-inodes b/find-inodes index 111c64e..133c407 100755 --- a/find-inodes +++ b/find-inodes @@ -2,7 +2,7 @@ GLOBIGNORE=. ( for i in *; do - a=$(find "$i" -xdev | wc -l) + a=$(find "./$i" -xdev | wc -l) printf "%s" "${a%\n}" printf " - %s\n" "$i" done -- cgit v1.2.3-24-g4f1b