fix: osh.pl: propagate signals to plugins before exiting

pull/499/head
Stéphane Lesimple 2 years ago committed by Stéphane Lesimple
parent 4196a5b1c7
commit 790f4c3e92

@ -1612,6 +1612,9 @@ sub exit_sig {
signal => $sig,
);
}
# ensure the signal is propagated to our progress group, then exit
$SIG{$sig} = 'IGNORE';
kill $sig, 0;
exit OVH::Bastion::EXIT_OK;
}

Loading…
Cancel
Save