use SIGTERM, not SIGKILL - now solo5 ukvm has the ability to execute atexit functions

This commit is contained in:
Hannes Mehnert 2017-10-26 22:21:15 +02:00
parent bdedadf689
commit 1d3cf484c4
1 changed files with 1 additions and 1 deletions

View File

@ -191,4 +191,4 @@ let exec dir vm fifo vmimage taps =
close_no_err stdout;
R.error_msgf "cmd %a exits: %a" Bos.Cmd.pp cmd pp_unix_error e
let destroy vm = Unix.kill vm.pid 9
let destroy vm = Unix.kill vm.pid 15 (* 15 is SIGTERM *)