summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific
diff options
context:
space:
mode:
authorJoey Hess2020-07-04 13:37:21 -0400
committerJoey Hess2020-07-04 13:37:21 -0400
commit53d0568ec0fec5a1472bb4f9417d957d9c3802ad (patch)
tree8b5ec722e2c9f13b5ebac94e951eb4900d4a73b6 /src/Propellor/Property/SiteSpecific
parent90f3ce3d3137b25ea3f721bfa1e7e59769022849 (diff)
more quoting
Diffstat (limited to 'src/Propellor/Property/SiteSpecific')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index 0abd1899..5c4bf569 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -1321,7 +1321,7 @@ autoMountDrivePort label hp drive malias = propertyList desc $ props
-- drive lsusb to find that. This works even if the
-- port is powered off, as long as it's been on at
-- some point before.
- [ "$(lsusb -tvv | perl -lne \"if (m!/sys/bus/usb/devices/(.*?) !) {\\\\$v=$1}; if (/"
+ [ "$(lsusb -tvv | perl -lne \"if (m!/sys/bus/usb/devices/(.*?) !) {\\\\$v=\\\\$1}; if (/"
, driveVendorId drive ++ ":" ++ driveProductId drive
++ "/) { print \\\\$v; last}\")"
]