mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fixes
This commit is contained in:
parent
9962e8661a
commit
f02a64561c
3
inxi
3
inxi
|
@ -3,7 +3,7 @@
|
|||
#### Script Name: inxi
|
||||
#### version: 1.7.0
|
||||
#### Date: June 17 2011
|
||||
#### Patch Number: 04
|
||||
#### Patch Number: 05
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
########################################################################
|
||||
|
@ -4515,6 +4515,7 @@ get_optical_drive_data()
|
|||
do
|
||||
disk=$( readlink $linked 2>/dev/null )
|
||||
if [[ -n $disk ]] && [[ -z $dev_disks_real || -z $( grep $disk <<< $dev_disks_real ) ]];then
|
||||
disk=$( basename $disk ) # puppy shows this as /dev/sr0, not sr0
|
||||
# need line break IFS for below, no white space
|
||||
dev_disks_real="$dev_disks_real$separator$disk"
|
||||
separator=$'\n'
|
||||
|
|
Loading…
Reference in a new issue