cs/rm
This commit is contained in:
parent
40d6d79394
commit
930f296dc8
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue