Fixed typo in NVME detection
Kyle Sheumaker [Mon, 28 Aug 2017 20:25:12 +0000 (15:25 -0500)]
etc/hardware_output.sh

index 95b8c1c..67e0b2e 100755 (executable)
@@ -41,7 +41,7 @@ disk_list() {
                fi
        done
 
-       for i in `ls -1 /dev/nvme[0-9]+n[0-9]+$/"`
+       for i in `ls -1 /dev/nvme* | grep "/dev/nvme[0-9]+n[0-9]+$/"`
        do
                dev=`basename $i`
                exists=`cat /proc/partitions | awk '{print  $4}' | grep $dev`