xbps-fbulk: ignore rename(2) return value (CID #98678).

This commit is contained in:
Juan RP 2015-07-26 08:19:53 +02:00
parent e90ed618e8
commit 61ec2d4540

View File

@ -202,7 +202,7 @@ processCompletion(struct item *item)
else else
logdir = "bad"; logdir = "bad";
logpath2 = xbps_xasprintf("%s/%s/%s", LogDir, logdir, item->pkgn); logpath2 = xbps_xasprintf("%s/%s/%s", LogDir, logdir, item->pkgn);
rename(logpath1, logpath2); (void)rename(logpath1, logpath2);
free(logpath1); free(logpath1);
free(logpath2); free(logpath2);
} }