mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
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();
|
bb_show_usage();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usleep(xatou(argv[1]))) {
|
usleep(xatou(argv[1]));
|
||||||
bb_perror_nomsg_and_die();
|
|
||||||
}
|
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user