From f3f134e1c4bc6d264cf95ca7bbfcdd045b353d9d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 4 Jul 2020 11:19:33 -0400 Subject: one more --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 4 ++-- 1 file 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}\")" ] ] -- cgit v1.2.3