summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Systemd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Systemd.hs b/src/Propellor/Property/Systemd.hs
index 0d6dd097..cb63ff5a 100644
--- a/src/Propellor/Property/Systemd.hs
+++ b/src/Propellor/Property/Systemd.hs
@@ -473,4 +473,4 @@ escapePath = concatMap escape
escape '/' = "-"
escape c
| ((isAscii c && isAlphaNum c) || c == '_') = [c]
- | otherwise = '\\' : printf "%x" c
+ | otherwise = '\\' : 'x' : printf "%x" c