/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 plugins.d/mandos-client.c

  • Committer: Teddy Hogeborn
  • Date: 2018-02-18 01:14:23 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 366.
  • Revision ID: teddy@recompile.se-20180218011423-twxv4clb7wvm9fof
Remove dead code.

* plugins.d/mandos-client.d (main/clean_dir_at): Remove dead code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3095
3095
      
3096
3096
      /* need to clean even if 0 because man page doesn't specify */
3097
3097
      free(direntries);
3098
 
      if(numentries == -1){
3099
 
        perror_plus("scandirat");
3100
 
      }
3101
3098
      dret = unlinkat(base, dirname, AT_REMOVEDIR);
3102
3099
      if(dret == -1 and errno != ENOENT){
3103
3100
        perror_plus("rmdir");