aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/finc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/finc b/bin/finc
index e8e6b974..109f02b3 100755
--- a/bin/finc
+++ b/bin/finc
@@ -1,3 +1,3 @@
#!/bin/sh
# Count the number of entries from a find(1) condition
-find "$@" -exec printf .%sx {} + | wc -c
+find "${@:-.}" -exec printf .%sx {} + | wc -c