mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 18:12:21 +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
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.5.13
|
#### version: 0.5.14
|
||||||
#### Date: November 11 2008
|
#### Date: November 11 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash, the original bash sys info script by locsmif
|
#### 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
|
elif [[ $string_number == '' ]];then
|
||||||
string_number='Not Available'
|
string_number='Not Available'
|
||||||
else
|
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
|
fi
|
||||||
echo "$string_number$string_data"
|
echo "$string_number$string_data"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue