mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Do libxo cleanup even in case of errors.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
aa63d825a7
commit
54fc4636f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300746
|
@ -987,10 +987,11 @@ main(int argc, char **argv)
|
|||
if (error != 0)
|
||||
xo_err(1, "close");
|
||||
|
||||
xo_close_container("iscsictl");
|
||||
xo_finish();
|
||||
|
||||
if (failed != 0)
|
||||
return (1);
|
||||
|
||||
xo_close_container("iscsictl");
|
||||
xo_finish();
|
||||
return (0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue