mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-11 17:29:16 +05:00
rude sleep fix
This commit is contained in:
parent
d703457436
commit
22b6ee4ad5
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user