summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/ficl/ficl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/ficl/ficl.c b/sys/boot/ficl/ficl.c
index e90aee2..fab56f6 100644
--- a/sys/boot/ficl/ficl.c
+++ b/sys/boot/ficl/ficl.c
@@ -373,11 +373,11 @@ int ficlExecFD(FICL_VM *pVM, int fd)
break;
continue;
}
- if ((rval = ficlExec(pVM, cp, i)) >= VM_ERREXIT)
+ rval = ficlExec(pVM, cp, i);
+ if(rval != VM_QUIT && rval != VM_USEREXIT && rval != VM_OUTOFTEXT)
{
pVM->sourceID = id;
- vmThrowErr(pVM, "ficlExecFD: Error at line %d", nLine);
- break;
+ return rval;
}
}
/*
OpenPOWER on IntegriCloud