aboutsummaryrefslogtreecommitdiff
path: root/dpass
diff options
context:
space:
mode:
Diffstat (limited to 'dpass')
-rwxr-xr-xdpass4
1 files changed, 1 insertions, 3 deletions
diff --git a/dpass b/dpass
index 99654b2..69c4673 100755
--- a/dpass
+++ b/dpass
@@ -42,9 +42,7 @@ search()
do
pass_path="${pass_path}/$(printf '%s\n' "$pass_path"/* |
sed 's/.*\///g' |
- "$menu" -l 25 -p "󰟵 ${pass_path##*/} ")"
-
- [ "$?" != 0 ] &&
+ "$menu" -l 25 -p "󰟵 ${pass_path##*/} ")" ||
die "noting selected"
done