/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 plugins.d/password-prompt.c

  • Committer: Teddy Hogeborn
  • Date: 2011-03-17 18:19:08 UTC
  • Revision ID: teddy@fukt.bsnet.se-20110317181908-mwaptiv1bpgvzuf9
* plugins.d/password-prompt.c (conflict_detection): Don't print error
                                                    on ENOENT when
                                                    opening
                                                    /proc/*/cmdline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
    cl_fd = open(cmdline_filename, O_RDONLY);
112
112
    free(cmdline_filename);
113
113
    if(cl_fd == -1){
114
 
      error(0, errno, "open");
 
114
      if(errno != ENOENT){
 
115
        error(0, errno, "open");
 
116
      }
115
117
      return 0;
116
118
    }
117
119