mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
Call xo_finish(3) before exiting in usage().
This commit is contained in:
parent
4b2b0f5043
commit
10b92369a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279800
|
@ -554,5 +554,6 @@ usage(int wcmd)
|
|||
xo_error("usage: w [-dhin] [-M core] [-N system] [user ...]\n");
|
||||
else
|
||||
xo_error("usage: uptime\n");
|
||||
xo_finish();
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue