From ceca72fca9499bfd12e4416fcd5d8b23b5dbe577 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 9 Aug 2009 03:26:56 +0200 Subject: [PATCH] Add a printf for previous to know when that happens. --HG-- extra : convert_revision : 9d716b7906f2ef7226afb608361e1286f45ce355 --- lib/remove.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/remove.c b/lib/remove.c index ecacb82156a..2b49cc02527 100644 --- a/lib/remove.c +++ b/lib/remove.c @@ -194,6 +194,8 @@ files: "sha256", &sha256); rv = xbps_check_file_hash(path, sha256); if (rv == ENOENT) { + printf("WARNING: '%s' doesn't exist!\n", + file); free(path); continue; } else if (rv == ERANGE) {