diff options
author | Denys Vlasenko | 2019-02-08 14:59:06 +0100 |
---|---|---|
committer | Denys Vlasenko | 2019-02-08 14:59:06 +0100 |
commit | 1422ba6dea9160a4b8ad7be9c2cc925c810f1414 (patch) | |
tree | b4ddf972c066ae684f9d889c4f7874655722da83 /procps | |
parent | 679c30e73eda275085676f51fc77ee18c84edf21 (diff) | |
download | busybox-1422ba6dea9160a4b8ad7be9c2cc925c810f1414.zip busybox-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.c | 1 |
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; } |