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:
Denys Vlasenko 2011-07-08 08:37:57 +02:00
parent 8f6ce094dc
commit acff3733ba

View File

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