rude sleep fix

This commit is contained in:
bol-van 2023-11-03 10:45:18 +03:00
parent d703457436
commit 22b6ee4ad5

View File

@ -246,7 +246,7 @@ msleep()
lua -e "require 'nixio'.nanosleep($(($1/1000)),$(calc $1%1000*1000000))" lua -e "require 'nixio'.nanosleep($(($1/1000)),$(calc $1%1000*1000000))"
;; ;;
*) *)
sleep 1 sleep $((($1+999)/1000))
esac esac
} }
minsleep() minsleep()