Fixed whitespace on windows uptime cmd
This commit is contained in:
parent
2d1a5ddd45
commit
43a22793dd
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -344,7 +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/ /}
|
uptime=${uptime/ / }
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue