summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/instool3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/instool b/src/instool
index addfc41..4b4db66 100755
--- a/src/instool
+++ b/src/instool
@@ -93,6 +93,9 @@ type_mo() {
}
+if [ $# = 0 ]; then
+ exit
+fi
dirs_"$TYPE" "$@"
for f in "$@"; do
type_"$TYPE" "$f"