small pixel drawing of a pufferfish pa

reorder guards
arĉi arcxi@dismail.de
Sun, 28 Jul 2024 02:53:32 +0200
commit

a73b02f6737ec29ab88940e60fc7f80ea3d36c0b

parent

817b68ae7f2464a0d764c2dd7b1cfa1374f81611

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

jump to
M papa

@@ -253,17 +253,17 @@

glob "$command" '[ades]*' && [ -z "$name" ] && die "Missing [name] argument" - glob "$command" '[ds]*' && [ ! -f "$name.age" ] && - die "Password '$name' doesn't exist" - - glob "$command" 'a*' && [ -f "$name.age" ] && - die "Password '$name' already exists" - glob "$name" '/*' || glob "$name" '*/' && die "Name can't start or end with '/'" glob "$name" '../*' || glob "$name" '*/../*' && die "Category went out of bounds" + + glob "$command" 'a*' && [ -f "$name.age" ] && + die "Password '$name' already exists" + + glob "$command" '[ds]*' && [ ! -f "$name.age" ] && + die "Password '$name' doesn't exist" # First, copy any existing identities files from the old # storage location to the new one for backwards compat.