Skip to content

Commit

Permalink
Merge pull request omniosorg#191 from citrus-it/disk
Browse files Browse the repository at this point in the history
Fix detected disk display
  • Loading branch information
hadfl authored Feb 9, 2021
2 parents 634bd9f + e6e2de0 commit e597bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/disk_help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ ListDisks() {
if [ -n "$disk" ]; then
desc=`echo $diskline | sed -e 's/^[^\<]*//; s/[\<\>]//g;'`
diskname+=([$disk]=$desc)
log "... found disk '$disk' = $diskname"
log "... found disk '$disk' = $desc"
disk=
else
disk=$diskline
fi
fi
done < <(format < /dev/null | nawk '/^ *[0-9]*\. /{print $2; print;}')

for want in $*; do
Expand Down

0 comments on commit e597bec

Please sign in to comment.