Remove errant c from glob guards, add missing d Co-authored-by: Alan Morgan <alanxoc3@gmail.com>
Jes Olson j3s@c3f.net
Tue, 27 Dec 2022 21:29:49 -0800
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
pa
→
pa
@@ -191,10 +191,10 @@
cd "$PA_DIR" || die "Can't access password directory" - glob "$1" '[acdes]*' && [ -z "$2" ] && + glob "$1" '[ades]*' && [ -z "$2" ] && die "Missing [name] argument" - glob "$1" '[cds]*' && [ ! -f "$2.age" ] && + glob "$1" '[des]*' && [ ! -f "$2.age" ] && die "Pass file '$2' doesn't exist" glob "$1" 'a*' && [ -f "$2.age" ] &&