diff options
author | Erich Eckner <git@eckner.net> | 2020-02-17 10:28:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-17 10:28:14 +0100 |
commit | e97a217a3f5ae062f81940ae046d1010358e72be (patch) | |
tree | 3dd9967a9038854f09e0f0e60c988729ca58a77f | |
parent | 4c4581d0bf6c794cbc55abe68f7109b8d97c9340 (diff) | |
download | cryptfs-daemon-e97a217a3f5ae062f81940ae046d1010358e72be.tar.xz |
cryptfs.bin.in: close integrity device more forcefully
-rw-r--r-- | cryptfs.bin.in | 2 |
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 |