Fixed whitespace on windows uptime cmd
This commit is contained in:
parent
81ea929146
commit
2d1a5ddd45
1 changed files with 1 additions and 0 deletions
1
fetch
1
fetch
|
@ -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/ /}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue