diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-08 08:37:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-08 08:37:57 +0200 |
commit | acff3733bae6a9928d0109d5e4f93c32e82969d8 (patch) | |
tree | d8ebb67a97be3fac07dbc1bd7f6685e1c4420191 | |
parent | 8f6ce094dc780010e51e38bf96b9d107cefdd4b6 (diff) | |
download | busybox-w32-acff3733bae6a9928d0109d5e4f93c32e82969d8.tar.gz busybox-w32-acff3733bae6a9928d0109d5e4f93c32e82969d8.tar.bz2 busybox-w32-acff3733bae6a9928d0109d5e4f93c32e82969d8.zip |
usleep: do not check for usleep error, it should never fail
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/usleep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/coreutils/usleep.c b/coreutils/usleep.c index 67f94f798..2e4eb5721 100644 --- a/coreutils/usleep.c +++ b/coreutils/usleep.c | |||
@@ -29,9 +29,7 @@ int usleep_main(int argc UNUSED_PARAM, char **argv) | |||
29 | bb_show_usage(); | 29 | bb_show_usage(); |
30 | } | 30 | } |
31 | 31 | ||
32 | if (usleep(xatou(argv[1]))) { | 32 | usleep(xatou(argv[1])); |
33 | bb_perror_nomsg_and_die(); | ||
34 | } | ||
35 | 33 | ||
36 | return EXIT_SUCCESS; | 34 | return EXIT_SUCCESS; |
37 | } | 35 | } |