xbps-fbulk: ignore rename(2) return value (CID #98678).
This commit is contained in:
parent
e90ed618e8
commit
61ec2d4540
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user