Do libxo cleanup even in case of errors.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
cffffee812
commit
6c6e98f959
@ -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 New Issue
Block a user