summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific
diff options
context:
space:
mode:
authorJoey Hess2020-07-04 11:19:33 -0400
committerJoey Hess2020-07-04 11:19:33 -0400
commitf3f134e1c4bc6d264cf95ca7bbfcdd045b353d9d (patch)
tree86003a35a097cf525df7b74e388dcc397dfe79b3 /src/Propellor/Property/SiteSpecific
parenta3d3a4cbda9f63a077080a023ce787e25329f7d1 (diff)
one more
Diffstat (limited to 'src/Propellor/Property/SiteSpecific')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index e7bcaa1b..519fdf2c 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -1319,9 +1319,9 @@ autoMountDrivePort label hp drive malias = propertyList desc $ props
-- and the vendor is not sufficient since I have 2
-- hubs from the same vendor. So search for the
-- drive in its output to determine it.
- [ "$(uhubctl | awk -F '[: ]' '/Current status for hub/{u=\\\\$5}/"
+ [ "$(uhubctl | awk -F \"[: ]\" \"/Current status for hub/{u=\\\\$5}/"
, driveVendorId drive ++ ":" ++ driveProductId drive
- , "/{print u}')"
+ , "/{print u}\")"
]
]