forked from openkylin/ukui-search
Merge pull request #100 from MouseZhangZh/0121-dev-inzpf
Fixed an issue where the monitor would not start the next time the ap…
This commit is contained in:
commit
1e1244b8c9
|
@ -77,6 +77,12 @@ void FirstIndex::run(){
|
|||
|
||||
if (this->bool_dataBaseExist){
|
||||
if (this->bool_dataBaseStatusOK){
|
||||
int retval = write(fifo_fd, buffer, strlen(buffer));
|
||||
if(retval == -1)
|
||||
{
|
||||
perror("write error\n");
|
||||
}
|
||||
printf("write data ok!\n");
|
||||
|
||||
//why???????????????????????????????????????????????????????????????
|
||||
//why not quit?
|
||||
|
@ -183,7 +189,6 @@ void FirstIndex::run(){
|
|||
perror("write error\n");
|
||||
}
|
||||
printf("write data ok!\n");
|
||||
close(fifo_fd);
|
||||
|
||||
FileUtils::_index_status = FINISH_CREATING_INDEX;
|
||||
|
||||
|
|
Loading…
Reference in New Issue