(interpreter_exec_cmd): Use condition,
e.reason < 0, to raise an error.
This commit is contained in:
parent
82c94ed064
commit
a7479e7ea1
@ -399,7 +399,7 @@ interpreter_exec_cmd (char *args, int from_tty)
|
||||
for (i = 1; i < nrules; i++)
|
||||
{
|
||||
struct exception e = interp_exec (interp_to_use, prules[i]);
|
||||
if (!e.reason)
|
||||
if (e.reason < 0)
|
||||
{
|
||||
interp_set (old_interp);
|
||||
interp_set_quiet (interp_to_use, old_quiet);
|
||||
|
Loading…
Reference in New Issue
Block a user