xbps-repo: call xbps_end() in usage() before exit(3).
This commit is contained in:
parent
ec7549fa04
commit
40cf7bad32
@ -40,6 +40,7 @@
|
|||||||
static void __attribute__((noreturn))
|
static void __attribute__((noreturn))
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
|
xbps_end();
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Usage: xbps-repo [options] [action] [arguments]\n"
|
"Usage: xbps-repo [options] [action] [arguments]\n"
|
||||||
"See xbps-repo(8) for more information.\n");
|
"See xbps-repo(8) for more information.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user