From 1422ba6dea9160a4b8ad7be9c2cc925c810f1414 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 8 Feb 2019 14:59:06 +0100 Subject: sysctl: on EIO ("sysctl net.ipv6.conf.all.stable_secret") set nonzero exitcode Signed-off-by: Denys Vlasenko --- procps/sysctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'procps/sysctl.c') 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; } -- cgit v1.1