Skip to content

Commit

Permalink
quitconfirm in debug session solved
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshjangir committed Oct 12, 2023
1 parent 19dbb57 commit 966a464
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librz/main/rizin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1463,6 +1463,7 @@ RZ_API int rz_main_rizin(int argc, const char **argv) {
if (rz_config_get_i(r->config, "dbg.exitkills") &&
rz_debug_can_kill(r->dbg) &&
rz_cons_yesno('y', "Do you want to kill the process? (Y/n)")) {
rz_config_set_i(r->config, "scr.confirmquit", false);
rz_debug_kill(r->dbg, r->dbg->pid, r->dbg->tid, 9); // KILL
}
} else {
Expand Down

0 comments on commit 966a464

Please sign in to comment.