Fix #4670 - Add checking of dbg.exitkills in non-interactive mode

This commit is contained in:
Andrey Torsunov 2016-04-25 14:46:24 +04:00 committed by radare
parent b88f1d63f5
commit 1e910dca6c

View File

@ -912,7 +912,7 @@ int main(int argc, char **argv, char **envp) {
free (question);
} else {
// r_core_project_save (&r, prj);
if (debug) {
if (debug && r_config_get_i (r.config, "dbg.exitkills")) {
r_debug_kill (r.dbg, 0, false, 9); // KILL
}
}