summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bc41f93)
Unary not has higher precedence than comparisons,
so the condition was bogus.
if (age >= cutoff)
continue;
if (age >= cutoff)
continue;
- if (!i->type == IGNORE_DIRECTORY_PATH || !streq(dent->d_name, p)) {
+ if (i->type != IGNORE_DIRECTORY_PATH || !streq(dent->d_name, p)) {
log_debug("rmdir '%s'\n", sub_path);
if (unlinkat(dirfd(d), dent->d_name, AT_REMOVEDIR) < 0) {
log_debug("rmdir '%s'\n", sub_path);
if (unlinkat(dirfd(d), dent->d_name, AT_REMOVEDIR) < 0) {