diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-10-16 19:40:54 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-10-16 19:41:07 +0900 |
commit | 0d301d53cab190674826403848021bd2da325975 (patch) | |
tree | fd99545d93fda94d96d4804b9aceaa1f6596d86e /sysctl.c | |
parent | 48ff695de6f88bb94c6a08828b7468ee248438fa (diff) | |
download | procps-ng-0d301d53cab190674826403848021bd2da325975.tar.gz procps-ng-0d301d53cab190674826403848021bd2da325975.tar.bz2 procps-ng-0d301d53cab190674826403848021bd2da325975.zip |
Imported Upstream version 3.3.11upstream/3.3.11
Change-Id: Ia323b0dad46ca1bdecf6ffba0fcf9a22e4ff5b5e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'sysctl.c')
-rw-r--r-- | sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -655,7 +655,7 @@ static int PreloadSystem(void) } - 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); |