aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-02-08 14:59:06 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2019-02-08 14:59:06 +0100
commit1422ba6dea9160a4b8ad7be9c2cc925c810f1414 (patch)
treeb4ddf972c066ae684f9d889c4f7874655722da83 /procps
parent679c30e73eda275085676f51fc77ee18c84edf21 (diff)
downloadbusybox-1422ba6dea9160a4b8ad7be9c2cc925c810f1414.tar.gz
sysctl: on EIO ("sysctl net.ipv6.conf.all.stable_secret") set nonzero exitcode
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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;
}