small pixel drawing of a pufferfish dotfiles

Simplify if logix
j3s j3s@c3f.net
Thu, 28 Jan 2021 16:15:33 -0600
commit

c11c896e96c1c522ab2d90342b562ba6f7dc46a3

parent

c66296683cad020ebe12168f50572bf4eb2dbde5

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

jump to
M bin/pabin/pa

@@ -69,9 +69,7 @@ die "Could not decrypt $1.age"

"${EDITOR:-vi}" "$tmpfile" - if [ ! -f "$tmpfile" ]; then - die "New password not saved" - fi + [ -f "$tmpfile" ] || die "New password not saved" rm "$name.age" age -r "$pubkey" -o "$name.age" "$tmpfile"