From 4172592ae1cd9f6292aa32e012348f18fe8248d3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 22 May 2019 21:59:57 +0300 Subject: [PATCH] general: clean up. --- pash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pash b/pash index 72af14e..a8cd78d 100755 --- a/pash +++ b/pash @@ -96,10 +96,10 @@ main() { cd "$pass_dir" || die "Can't access password directory." - [[ $1 == [ads]* && -z $2 ]] && + [[ $1 == [acds]* && -z $2 ]] && die "Missing [name] argument." - [[ $1 == [ds]* && ! -f $2.gpg ]] && + [[ $1 == [cds]* && ! -f $2.gpg ]] && die "Pass file '$2' doesn't exist." [[ $1 == [a]* && -f $2.gpg ]] &&