unset traps before removing pa dir in pa-rekey
arĉi arcxi@dismail.de
Fri, 05 Jul 2024 17:30:38 +0200
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
contrib/pa-rekey
→
contrib/pa-rekey
@@ -45,6 +45,8 @@ pa show "$name" | $age -R "$basedir/tmp/recipients" -o "$basedir/tmp/passwords/$name.age" ||
die "Couldn't encrypt $name.age" done +trap - INT EXIT + rm -rf "$PA_DIR" mv "$basedir/tmp/passwords" "$PA_DIR" mv "$basedir/tmp/identities" "$basedir/identities"