#!/bin/sh -e
# passman -- simple password manager
-# Copyright (C) 2013-2023 Sergey Matveev (stargrave@stargrave.org)
+# Copyright (C) 2013-2024 Sergey Matveev (stargrave@stargrave.org)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
}
tmp=`mktemp`.rec
-trap "rm -f $tmp" HUP PIPE INT QUIT TERM EXIT
+trap "rm -f $tmp ${DB}.tmp" HUP PIPE INT QUIT TERM EXIT
finder() {
dec | recsel -e "Name ~ '$1'" > $tmp