Remove conflict message for no-existent files.

Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
This commit is contained in:
Andrew Fyfe 2007-07-10 16:31:13 +01:00 committed by Dan McGee
parent 142225fd7d
commit 9a9928f1b8
1 changed files with 2 additions and 1 deletions

View File

@ -506,7 +506,8 @@ alpm_list_t *_alpm_db_find_conflicts(pmdb_t *db, pmtrans_t *trans, char *root)
path, p1->name, NULL);
}
} else {
_alpm_log(PM_LOG_DEBUG, "%s is a directory, not a conflict", path);
if(S_ISDIR(buf.st_mode))
_alpm_log(PM_LOG_DEBUG, "%s is a directory, not a conflict", path);
}
}
alpm_list_free_inner(tmpfiles, &free);