[git commit] sysctl: on EIO ("sysctl net.ipv6.conf.all.stable_secret") set nonzero exitcode

Denys Vlasenko vda.linux at googlemail.com
Fri Feb 8 13:59:06 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=1422ba6dea9160a4b8ad7be9c2cc925c810f1414
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 procps/sysctl.c | 1 +
 1 file changed, 1 insertion(+)

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;
 		}
 


More information about the busybox-cvs mailing list