Changeset 23c0546


Ignore:
Timestamp:
01/25/14 07:28:45 (6 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
f8a40c0
Parents:
0e8260f
Message:

Check for bogus output coming from camcontrol identify and strip it out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-sysinstall/backend-query/disk-list.sh

    r03a2252 r23c0546  
    9292  fi 
    9393 
     94  # Check for garbage that we can't sort 
     95  echo $NEWLINE | sort >/dev/null 2>/dev/null 
     96  if [ $? -ne 0 ] ; then 
     97     NEWLINE=" <Unknown Device>" 
     98  fi 
     99 
    94100  if [ -n "${FLAGS_MD}" ] && echo "${DEV}" | grep -E '^md[0-9]+' >/dev/null 2>/dev/null 
    95101  then 
Note: See TracChangeset for help on using the changeset viewer.