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");
|
xo_error("usage: w [-dhin] [-M core] [-N system] [user ...]\n");
|
||||||
else
|
else
|
||||||
xo_error("usage: uptime\n");
|
xo_error("usage: uptime\n");
|
||||||
|
xo_finish();
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user