Fixed whitespace on windows uptime cmd

This commit is contained in:
dylan araps 2016-01-06 17:10:16 +11:00
parent 81ea929146
commit 2d1a5ddd45

1
fetch
View file

@ -344,6 +344,7 @@ getuptime () {
"Windows") "Windows")
uptime=$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}') uptime=$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')
uptime=${uptime/ /}
;; ;;
*) *)