summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/usleep.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/coreutils/usleep.c b/coreutils/usleep.c
index 67f94f7..2e4eb57 100644
--- a/coreutils/usleep.c
+++ b/coreutils/usleep.c
@@ -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;
}