U mean return error signal to main function and exit with -1?

在 2014年1月15日星期三，Roman Valls Guimerà 写道：

> In facs/query.c:
>
> >    File_head->hits = 0;
> >    File_head->all_k = 0;
> >    File_head->reads_num = 0;
> >    File_head->reads_contam = 0;
> >    File_head->filename = bloom_filter;           //extra initialization for python interface
> > -  load_bloom (File_head->filename, bl_2);	//load a bloom filter
> > +  if (load_bloom (File_head->filename, bl_2)<=0)	//load a bloom filter
>
> Here there should better better error control, like above with perror and
> proper return codes instead of just exit(), @tzcoolman<https://github.com/tzcoolman>,
> please fix this.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/SciLifeLab/facs/pull/101/files#r8889875>
> .
>