shorter test sleep

This commit is contained in:
bol-van 2023-10-31 16:42:38 +03:00
parent c80aac02b1
commit 15a5ac1e10

View File

@ -200,7 +200,7 @@ fix_sbin_path()
fsleep_setup() fsleep_setup()
{ {
[ -n "$FSLEEP" ] || { [ -n "$FSLEEP" ] || {
if sleep 0.1 2>/dev/null; then if sleep 0.001 2>/dev/null; then
FSLEEP=1 FSLEEP=1
elif busybox usleep 1 2>/dev/null; then elif busybox usleep 1 2>/dev/null; then
FSLEEP=2 FSLEEP=2