/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/splashy.c

  • Committer: Teddy Hogeborn
  • Date: 2009-01-10 06:23:04 UTC
  • Revision ID: teddy@fukt.bsnet.se-20090110062304-wy7yw1pyuu5cldrg
* plugins.d/splashy.c (main): Do not abort if a process vanishes while
                              investigating it.
* plugins.d/usplash.c (main): - '' -  Also removed unnecessary code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
        struct stat exe_stat;
121
121
        ret = lstat(exe_link, &exe_stat);
122
122
        if(ret == -1){
 
123
          if(errno == ENOENT){
 
124
            free(exe_link);
 
125
            continue;
 
126
          }
123
127
          perror("lstat");
124
128
          free(exe_link);
125
129
          free(prompt);