]> git.ipfire.org Git - thirdparty/systemd.git/commit
cryptsetup: do not 'fail' if trying to detach a nonexistent device
authorMantas Mikulėnas <grawity@gmail.com>
Fri, 1 Apr 2016 18:51:20 +0000 (21:51 +0300)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Apr 2016 18:51:20 +0000 (20:51 +0200)
commita0bfc9c26a2cc44b95b1a02200cb999dedf9c0c3
tree924880066b68c952d88e0129f35ed9b662c9dfea
parent7aa610f1491fd361c269481701c9d07ac3f48ae6
cryptsetup: do not 'fail' if trying to detach a nonexistent device

It could be that our .service is being stopped precisely because the
device already disappeared (e.g. due to a manual `cryptsetup close`, or
due to UDisks2 cleaning up).
src/cryptsetup/cryptsetup.c