diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-02-08 14:59:06 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-02-08 14:59:06 +0100 |
commit | 1422ba6dea9160a4b8ad7be9c2cc925c810f1414 (patch) | |
tree | b4ddf972c066ae684f9d889c4f7874655722da83 | |
parent | 679c30e73eda275085676f51fc77ee18c84edf21 (diff) | |
download | busybox-w32-1422ba6dea9160a4b8ad7be9c2cc925c810f1414.tar.gz busybox-w32-1422ba6dea9160a4b8ad7be9c2cc925c810f1414.tar.bz2 busybox-w32-1422ba6dea9160a4b8ad7be9c2cc925c810f1414.zip |
sysctl: on EIO ("sysctl net.ipv6.conf.all.stable_secret") set nonzero exitcode
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | procps/sysctl.c | 1 |
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) | |||
177 | close(fd); | 177 | close(fd); |
178 | if (value == NULL) { | 178 | if (value == NULL) { |
179 | bb_perror_msg("error reading key '%s'", outname); | 179 | bb_perror_msg("error reading key '%s'", outname); |
180 | retval = EXIT_FAILURE; | ||
180 | goto end; | 181 | goto end; |
181 | } | 182 | } |
182 | 183 | ||