This commit is contained in:
Marc Beninca 2025-03-30 22:18:56 +02:00
parent 40d6d79394
commit 930f296dc8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -101,6 +101,10 @@ rwx_crypt() {
if ! qemu-nbd --disconnect "${device}"; then
rwx_log_error 8 "Disconnection failure: ${device}"
fi
# remove record
if ! rm "${RWX_CRYPT_ROOT}/${crypt_arg}"; then
rwx_log_error 9 "Removal failure: ${crypt_arg}"
fi
;;
*) ;;
esac