Skip to content

Commit

Permalink
util (ble/util/msleep): suppress warnings from "usleep"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Mar 10, 2019
1 parent 840af29 commit 8e4180c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ elif ble/bin/.freeze-utility-path usleep; then
function ble/util/msleep {
local v=$((1000*$1-_ble_util_msleep_delay))
((v<=0)) && v=0
ble/bin/usleep "$v"
ble/bin/usleep "$v" &>/dev/null
}
elif ble/util/msleep/.check-coreutils-sleep; then
function ble/util/msleep/.core { ble/bin/sleep "$1"; }
Expand Down

0 comments on commit 8e4180c

Please sign in to comment.