From 82cb9a3420b122d4739d9c719cab486d65226ad5 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 16 May 2025 11:20:36 -0300 Subject: src/instool: Early exit when no files are given --- src/instool | 3 +++ 1 file changed, 3 insertions(+) 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" -- cgit v1.2.3