summaryrefslogtreecommitdiff
path: root/coccinelle/safe_close-no-if.cocci
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2016-04-01 21:51:20 +0300
committerLennart Poettering <lennart@poettering.net>2016-04-01 20:51:20 +0200
commita0bfc9c26a2cc44b95b1a02200cb999dedf9c0c3 (patch)
tree924880066b68c952d88e0129f35ed9b662c9dfea /coccinelle/safe_close-no-if.cocci
parent7aa610f1491fd361c269481701c9d07ac3f48ae6 (diff)
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).
Diffstat (limited to 'coccinelle/safe_close-no-if.cocci')
0 files changed, 0 insertions, 0 deletions