blob: c6b0a4a36251f022af2a125f2895896098787337 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
http://bugs.gentoo.org/520314
http://gitorious.org/procps/procps/commit/7f6efed9bb85d1e212e06985ea3e06720f6ca949
--- sysctl.c
+++ sysctl.c
@@ -640,7 +640,7 @@
}
- if (stat(DEFAULT_PRELOAD, &ts) < 0 && S_ISREG(ts.st_mode)) {
+ if (stat(DEFAULT_PRELOAD, &ts) == 0 && S_ISREG(ts.st_mode)) {
if (!Quiet)
printf(_("* Applying %s ...\n"), DEFAULT_PRELOAD);
rc |= Preload(DEFAULT_PRELOAD);
|