diff --git a/inxi b/inxi index bfede02..3019b72 100755 --- a/inxi +++ b/inxi @@ -1189,7 +1189,7 @@ get_networking_data() get_uptime() { ## note: removing gsub(/ /,"",a); to get get space back in there, goes right before print a - local up_time=$( uptime | gawk '{ a = gensub(/^.*up *([^,]*).*$/,"\\1","g",$0); gsub(/ /,"-",a); print a }' ) + local up_time=$( uptime | gawk '{ a = gensub(/^.*up *([^,]*).*$/,"\\1","g",$0); print a }' ) echo "$up_time" }