mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
cleanup, no changes
This commit is contained in:
parent
575c743001
commit
95ab6339d9
6
inxi
6
inxi
|
@ -2481,9 +2481,9 @@ get_uptime()
|
|||
{
|
||||
## note: removing gsub(/ /,"",a); to get get space back in there, goes right before print a
|
||||
echo $( uptime | gawk '{
|
||||
a = gensub(/^.*up *([^,]*).*$/,"\\1","g",$0)
|
||||
print a
|
||||
}' )
|
||||
a = gensub(/^.*up *([^,]*).*$/,"\\1","g",$0)
|
||||
print a
|
||||
}' )
|
||||
}
|
||||
|
||||
#### -------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue