Merge branch 'configure' of https://github.com/cgzones/htop into cgzones-configure

This commit is contained in:
Nathan Scott
2020-08-31 17:13:37 +10:00
4 changed files with 28 additions and 19 deletions

2
htop.c
View File

@ -198,7 +198,7 @@ int main(int argc, char** argv) {
CommandLineSettings flags = parseArguments(argc, argv); // may exit()
#ifdef HAVE_PROC
#ifdef HTOP_LINUX
if (access(PROCDIR, R_OK) != 0) {
fprintf(stderr, "Error: could not read procfs (compiled to look in %s).\n", PROCDIR);
exit(1);