Drop usage of formatted error messages from <err.h>

They do not clean up the ncurses environment, leaving the terminal in a
broken state.

Also drop bare usage of exit(3).
This commit is contained in:
Christian Göttsche
2021-01-07 16:08:43 +01:00
parent 27db9297b7
commit d800d7a3ce
5 changed files with 10 additions and 20 deletions

View File

@ -7,7 +7,6 @@ in the source distribution for its full text.
#include "DarwinProcessList.h"
#include <err.h>
#include <errno.h>
#include <libproc.h>
#include <stdbool.h>