mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add xo_finish() to w.c in case it's invoked as uptime
Reviewed by: marcel Approved by: marcel Differential Revision: https://reviews.freebsd.org/D1821
This commit is contained in:
parent
2706e8723d
commit
441ee032a3
1 changed files with 3 additions and 1 deletions
|
|
@ -264,7 +264,9 @@ main(int argc, char *argv[])
|
|||
if (header || wcmd == 0) {
|
||||
pr_header(&now, nusers);
|
||||
if (wcmd == 0) {
|
||||
xo_close_container("uptime-information");
|
||||
xo_close_container("uptime-information");
|
||||
xo_finish();
|
||||
|
||||
(void)kvm_close(kd);
|
||||
exit(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue