diff --git a/bin/xbps-repo/main.c b/bin/xbps-repo/main.c index 12b80630..3c9875ef 100644 --- a/bin/xbps-repo/main.c +++ b/bin/xbps-repo/main.c @@ -40,6 +40,7 @@ static void __attribute__((noreturn)) usage(void) { + xbps_end(); fprintf(stderr, "Usage: xbps-repo [options] [action] [arguments]\n" "See xbps-repo(8) for more information.\n");