/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to plugin-runner.c

  • Committer: Teddy Hogeborn
  • Date: 2009-11-01 00:10:28 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091101001028-hf4mbnoz1yum7bkf
* Makefile (BROKEN_PIE): Add comment.
* debian/rules (BROKEN_PIE): - '' -
* plugin-runner.c: Really always use <sysexits.h> exit codes.
* plugins.d/mandos-client.c: Use <sysexits.h> exit codes.
  (start_mandos_communication): Make sure errno is always set when
                                returning -1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
682
682
       not affect opening plugins */
683
683
    if(errno == EMFILE or errno == ENFILE or errno == ENOMEM){
684
684
      perror("fopen");
685
 
      exitstatus = EX_OSERR;
 
685
      exitstatus = EX_IOERR;
686
686
      goto fallback;
687
687
    }
688
688
  }