Merge remote-tracking branch 'lp-Com/iocsherr' into 7.0
* lp-Com/iocsherr: doc deprecate iocshFindCommand() iocshTest start iocshCmd() imply "on error break" iocsh more error handling iocsh handle redirect and similar early errors iocsh trap arg. parsing errors iocsh further on error Fixed logic errors and added some prompts. use iocshSetError() iocsh allow setting of error code iocsh control error behavior iocsh catch exceptions # Conflicts: # documentation/RELEASE_NOTES.html
This commit is contained in:
@@ -275,7 +275,7 @@ static const iocshFuncDef rrddFuncDef =
|
||||
{"$subname", 1, rrddArgs};
|
||||
static void rrddCallFunc(const iocshArgBuf *)
|
||||
{
|
||||
$subname(*iocshPpdbbase);
|
||||
iocshSetError($subname(*iocshPpdbbase));
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
Reference in New Issue
Block a user