aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index f08b195..f38e923 100755
--- a/kiss
+++ b/kiss
@@ -128,7 +128,7 @@ pkg_find() {
set +f
for path2 in "$path/"$query; do
- [ -e "$path2" ] && set -f -- "$@" "$path2"
+ [ -x "$path2" ] || [ -d "$path2" ] && set -f -- "$@" "$path2"
done
done