tRemove useless "checking ..." logs - pm - barely a pack manager
(HTM) git clone git://z3bra.org/pm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 107ce0e3e0cd0fe71ba49bbe508f3dc393824a96
(DIR) parent 2c2a64bf081adb86aa5863023ee1c0e68cfea1e3
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Sat, 25 Nov 2017 22:15:11 +0100
Remove useless "checking ..." logs
Diffstat:
M pm.c | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/pm.c b/pm.c
t@@ -407,12 +407,10 @@ pack_install(const char *rootfs, const char *datadir, struct pack *p)
if (overwrite == 0) {
snprintf(tmp, PATH_MAX, "%s/%s", datadir, p->name);
- log(LOG_VERBOSE, "checking installation status\n");
if (inspect_installed(datadir, p->name) == 0) {
fprintf(stderr, "%s: Already installed\n", p->name);
return -1;
}
- log(LOG_VERBOSE, "checking for collisions\n");
if (inspect_collision(rootfs, p) != 0)
return -1;
}