small pixel drawing of a pufferfish pa

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
commit

b32ce1a16187a101dc66e9fb8859c4626766aa1c

parent

67a48b741f44e1ed144f1bc23ff29a7c9d7f3d3f

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M papa

@@ -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" ] &&