- added new scriptcontext with devser
This commit is contained in:
12
statusfile.c
12
statusfile.c
@@ -239,8 +239,16 @@ static int listRestoreErr(pRestoreObj self, SConnection *pCon){
|
||||
}
|
||||
else
|
||||
{
|
||||
if(strcmp(argv[1],"listerr") == 0){
|
||||
return listRestoreErr(self,pCon);
|
||||
if(strcasecmp(argv[1],"listerr") == 0){
|
||||
return listRestoreErr(self,pCon);
|
||||
} else if(strcasecmp(argv[1],"killerr") == 0){
|
||||
if(self->errList >= 0){
|
||||
LLDdeleteBlob(self->errList);
|
||||
}
|
||||
self->errList = LLDstringCreate();
|
||||
StatusFileDirty();
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
} else {
|
||||
sprintf(pBueffel,"%s",argv[1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user