SICS-684 Add 'hmm astop' command to simulated hmm in script validator.
See SICS-638 for justification.
This commit is contained in:
@@ -1301,6 +1301,14 @@ int HistAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
else if (strcmp(argv[1], "astop") == 0) {
|
||||
if (!SCMatchRights(pCon, usUser)) {
|
||||
return 0;
|
||||
}
|
||||
self->pDriv->Halt(self->pDriv);
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
/* pause */
|
||||
else if (strcmp(argv[1], "pause") == 0) {
|
||||
if (!SCMatchRights(pCon, usUser)) {
|
||||
|
||||
Reference in New Issue
Block a user