forked from Mirrors/flatpak-builder
host_spawn: Force kill f-b after forwarding INT/TERM
Otherwise we will just re-enter after INT and forward a TERM. Closes: #195 Approved by: alexlarssonauto
parent
a594fed33f
commit
d7200a4af4
|
@ -1574,7 +1574,7 @@ sigterm_handler (gpointer user_data)
|
|||
G_DBUS_CALL_FLAGS_NONE, -1,
|
||||
NULL, NULL);
|
||||
|
||||
kill (getpid (), SIGTERM);
|
||||
kill (getpid (), SIGKILL);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -1593,7 +1593,7 @@ sigint_handler (gpointer user_data)
|
|||
G_DBUS_CALL_FLAGS_NONE, -1,
|
||||
NULL, NULL);
|
||||
|
||||
kill (getpid (), SIGTERM);
|
||||
kill (getpid (), SIGKILL);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue