mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 08:57:57 +00:00
(Change Version)
Tiny change, removed 'Error data:' string from bad cpu core count to make output neater.
This commit is contained in:
parent
241dc099b4
commit
e158276f5e
5
inxi
5
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.5.13
|
||||
#### version: 0.5.14
|
||||
#### Date: November 11 2008
|
||||
########################################################################
|
||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
||||
|
@ -1648,7 +1648,8 @@ calculate_multicore_data()
|
|||
elif [[ $string_number == '' ]];then
|
||||
string_number='Not Available'
|
||||
else
|
||||
string_number="Error data:$string_number "
|
||||
# I believe that the above returns 'unknown' by default so no need for extra text
|
||||
string_number="$string_number "
|
||||
fi
|
||||
echo "$string_number$string_data"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue