Call xo_finish(3) before exiting in usage().
This commit is contained in:
parent
59b9a761ea
commit
ef19e8f5a5
@ -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 New Issue
Block a user