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:
@@ -177,6 +177,7 @@ static int sysctl_act_on_setting(char *setting)
|
|||||||
close(fd);
|
close(fd);
|
||||||
if (value == NULL) {
|
if (value == NULL) {
|
||||||
bb_perror_msg("error reading key '%s'", outname);
|
bb_perror_msg("error reading key '%s'", outname);
|
||||||
|
retval = EXIT_FAILURE;
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user