summaryrefslogtreecommitdiff
path: root/procps/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/sysctl.c')
-rw-r--r--procps/sysctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/sysctl.c b/procps/sysctl.c
index 2ef19c1..94a3079 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;
}