Skip to content

Commit

Permalink
Removing quotes from udev path_id command to actually execute the com…
Browse files Browse the repository at this point in the history
…mand.
  • Loading branch information
daniel-baumann committed Dec 1, 2011
1 parent 36ebde9 commit 3099ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/live
Expand Up @@ -536,7 +536,7 @@ is_nice_device ()
PATH_ID="/sbin/udevadm test-builtin path_id"
fi

if "${PATH_ID}" "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)"
if ${PATH_ID} "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-(ide|sas|scsi|usb|virtio)|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci)"
then
return 0
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
Expand Down

0 comments on commit 3099ec8

Please sign in to comment.