/mandos/release

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

« back to all changes in this revision

Viewing changes to plugin-runner.c

* mandos (Client.disable): Rename keyword argument "log" to "quiet",
                           with inverted sense.  All callers changed.
  (ClientDBus.disable): Rename keyword argument "signal" to "quiet",
                        with inverted sense.  All callers changed.
  (main): Disable D-Bus use if bus name is not available on system bus.
  (main.cleanup): Bug fix: Only do "remove_from_connection" on clients
                  when using D-Bus.
* plugin-runner.c (main): Return EX_OSERR if a bad error happened when
                          trying to open config file.

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_IOERR;
 
685
      exitstatus = EX_OSERR;
686
686
      goto fallback;
687
687
    }
688
688
  }