=== modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2018-02-18 01:05:16 +0000 +++ plugins.d/mandos-client.c 2018-02-18 01:14:23 +0000 @@ -3095,9 +3095,6 @@ /* need to clean even if 0 because man page doesn't specify */ free(direntries); - if(numentries == -1){ - perror_plus("scandirat"); - } dret = unlinkat(base, dirname, AT_REMOVEDIR); if(dret == -1 and errno != ENOENT){ perror_plus("rmdir");