xbps-install: make sure to call xbps_end() before exiting.
This commit is contained in:
parent
db00ccc3b0
commit
bb96486b12
@ -263,7 +263,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
if (eexist == argc)
|
||||
return 0;
|
||||
goto out;
|
||||
|
||||
rv = exec_transaction(&xh, maxcols, yes, drun);
|
||||
} else if (!update) {
|
||||
@ -280,11 +280,12 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
if (eexist == argc)
|
||||
return 0;
|
||||
goto out;
|
||||
|
||||
rv = exec_transaction(&xh, maxcols, yes, drun);
|
||||
}
|
||||
|
||||
out:
|
||||
xbps_end(&xh);
|
||||
exit(rv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user