From 60819611ca834ab27c6cb6d7e8672b3d02ddcaf1 Mon Sep 17 00:00:00 2001 From: Daniel Theophanes Date: Sat, 24 Jan 2015 14:30:17 -0800 Subject: [PATCH] service: escape darwin plist. --- service_darwin.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service_darwin.go b/service_darwin.go index 24c5c30..700eb84 100644 --- a/service_darwin.go +++ b/service_darwin.go @@ -191,12 +191,12 @@ var launchdConfig = ` "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > -Label{{.Name}} +Label{{html .Name}} ProgramArguments - {{.Path}} + {{html .Path}} {{range .Config.Arguments}} - {{.}} + {{html .}} {{end}} KeepAlive<{{bool .KeepAlive}}/>