diff options
Diffstat (limited to 'functions.sh')
-rw-r--r-- | functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh index faf9d64..798c6c7 100644 --- a/functions.sh +++ b/functions.sh @@ -702,7 +702,7 @@ _update_time() IFS=' ' read -r timeval _ < /proc/uptime || return s=${timeval%.*} - printf -v ds '%.1f' ".${timeval#*.}" + ds=$(printf '%.1f' ".${timeval#*.}") if [ "${ds}" = "1.0" ]; then ds=10 else |