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:
parent
679c30e73e
commit
1422ba6dea
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user