cleanup, no changes

This commit is contained in:
inxi-svn 2009-02-05 01:51:34 +00:00
parent 575c743001
commit 95ab6339d9

6
inxi
View file

@ -2481,9 +2481,9 @@ get_uptime()
{ {
## note: removing gsub(/ /,"",a); to get get space back in there, goes right before print a ## note: removing gsub(/ /,"",a); to get get space back in there, goes right before print a
echo $( uptime | gawk '{ echo $( uptime | gawk '{
a = gensub(/^.*up *([^,]*).*$/,"\\1","g",$0) a = gensub(/^.*up *([^,]*).*$/,"\\1","g",$0)
print a print a
}' ) }' )
} }
#### ------------------------------------------------------------------- #### -------------------------------------------------------------------