mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 21:14:35 +03:00
Merge branch 'configure' of https://github.com/cgzones/htop into cgzones-configure
This commit is contained in:
2
htop.c
2
htop.c
@ -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);
|
||||
|
Reference in New Issue
Block a user