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

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2019-02-08 14:59:06 +01:00
parent 679c30e73e
commit 1422ba6dea

View File

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