mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Disable the pager for 'panic' and 'call' to be paranoid.
This commit is contained in:
parent
a02f5c6204
commit
15cc91d345
1 changed files with 2 additions and 0 deletions
|
|
@ -424,6 +424,7 @@ db_command(last_cmdp, cmd_table)
|
|||
*/
|
||||
DB_COMMAND(panic, db_panic)
|
||||
{
|
||||
db_disable_pager();
|
||||
panic("from debugger");
|
||||
}
|
||||
|
||||
|
|
@ -527,6 +528,7 @@ db_fncall(dummy1, dummy2, dummy3, dummy4)
|
|||
}
|
||||
}
|
||||
db_skip_to_eol();
|
||||
db_disable_pager();
|
||||
|
||||
if (DB_CALL(fn_addr, &retval, nargs, args))
|
||||
db_printf("= %#lr\n", (long)retval);
|
||||
|
|
|
|||
Loading…
Reference in a new issue