Fix whitespace issue with openSUSE uptime
This commit is contained in:
parent
9a3a3bc83d
commit
924714b76d
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -508,7 +508,7 @@ getuptime () {
|
||||||
|
|
||||||
"openSUSE"*)
|
"openSUSE"*)
|
||||||
uptime=$(uptime | awk -F ':[0-9]{2}+[a-z][a-z] |(, ){1}+' '{printf $2}')
|
uptime=$(uptime | awk -F ':[0-9]{2}+[a-z][a-z] |(, ){1}+' '{printf $2}')
|
||||||
uptime=${uptime/ / }
|
uptime=${uptime/ / }
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Reference in a new issue