aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/sysctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c
index 2ef19c1be..94a307901 100644
--- a/procps/sysctl.c
+++ b/procps/sysctl.c
@@ -177,6 +177,7 @@ static int sysctl_act_on_setting(char *setting)
close(fd);
if (value == NULL) {
bb_perror_msg("error reading key '%s'", outname);
+ retval = EXIT_FAILURE;
goto end;
}