blob: b72f16876324b168f2c7e72bb5171f01c18ae3de (
plain)
1
2
3
4
5
6
7
8
|
if [[ -f /run/nbd_client.pid ]]; then
omit_kill_nbd_client() {
add_omit_pids $(< /run/nbd_client.pid)
}
add_hook shutdown_prekillall omit_kill_nbd_client
add_hook single_prekillall omit_kill_nbd_client
fi
|