usleep: do not check for usleep error, it should never fail
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
8f6ce094dc
commit
acff3733ba
@ -29,9 +29,7 @@ int usleep_main(int argc UNUSED_PARAM, char **argv)
|
||||
bb_show_usage();
|
||||
}
|
||||
|
||||
if (usleep(xatou(argv[1]))) {
|
||||
bb_perror_nomsg_and_die();
|
||||
}
|
||||
usleep(xatou(argv[1]));
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user