From: Denys Vlasenko Date: Fri, 8 Feb 2019 13:59:06 +0000 (+0100) Subject: sysctl: on EIO ("sysctl net.ipv6.conf.all.stable_secret") set nonzero exitcode X-Git-Tag: 1_31_0~179 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1422ba6dea9160a4b8ad7be9c2cc925c810f1414;p=oweals%2Fbusybox.git sysctl: on EIO ("sysctl net.ipv6.conf.all.stable_secret") set nonzero exitcode Signed-off-by: Denys Vlasenko --- 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; }