Skip to content

Commit

Permalink
changed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshjangir committed Oct 21, 2023
1 parent 35fe682 commit 58229f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions librz/main/rizin.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,12 +1483,10 @@ RZ_API int rz_main_rizin(int argc, const char **argv) {
if (rz_config_get_i(r->config, "dbg.exitkills") && y_kill_debug) {
rz_debug_kill(r->dbg, r->dbg->pid, r->dbg->tid, 9); // KILL
}
} else {
if (rz_config_get_i(r->config, "dbg.exitkills") &&
} else 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_debug_kill(r->dbg, r->dbg->pid, r->dbg->tid, 9); // KILL
}
rz_debug_kill(r->dbg, r->dbg->pid, r->dbg->tid, 9); // KILL
}
}
} else {
Expand Down

0 comments on commit 58229f2

Please sign in to comment.