summaryrefslogtreecommitdiff
path: root/cryptfs.bin.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-02-17 10:28:14 +0100
committerErich Eckner <git@eckner.net>2020-02-17 10:28:14 +0100
commite97a217a3f5ae062f81940ae046d1010358e72be (patch)
tree3dd9967a9038854f09e0f0e60c988729ca58a77f /cryptfs.bin.in
parent4c4581d0bf6c794cbc55abe68f7109b8d97c9340 (diff)
downloadcryptfs-daemon-e97a217a3f5ae062f81940ae046d1010358e72be.tar.xz
cryptfs.bin.in: close integrity device more forcefully
Diffstat (limited to 'cryptfs.bin.in')
-rw-r--r--cryptfs.bin.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptfs.bin.in b/cryptfs.bin.in
index cf4366f..3378588 100644
--- a/cryptfs.bin.in
+++ b/cryptfs.bin.in
@@ -286,7 +286,7 @@ do_crypt_open() {
do_integrity_close() {
if is_unlocked "$1"; then
- while ! integritysetup close "$1"; do
+ while ! integritysetup close "$1" && ! dmsetup remove "$1"; do
sleep 1
done
fi