diff --git a/inxi b/inxi index a19dd39..9c5a7a2 100755 --- a/inxi +++ b/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 + }' ) } #### -------------------------------------------------------------------