summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-02-11 11:03:42 +0100
committerFlorian Pritz <bluewind@xinu.at>2018-02-11 11:03:42 +0100
commit31918fdf68c6b7880c0697f257e6ec93132af5c4 (patch)
treedcb803768abdb170fa18a4b107fcde16a7aa5729
parentb2582c4cebb4d310349f92793345e5f2e9ff5edd (diff)
downloadbin-31918fdf68c6b7880c0697f257e6ec93132af5c4.tar.gz
bin-31918fdf68c6b7880c0697f257e6ec93132af5c4.tar.xz
find-inodes: Force paths to be treated as paths
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xfind-inodes2
1 files changed, 1 insertions, 1 deletions
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