Skip to contentSkip to conversation

contrib/launchd: fix xml syntax error

PATCH Superseded Hangbin Liu 1 participant 1 message May 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 contrib/launchd: fix xml syntax error

The current plist xml gets error "DOCTYPE improperly terminated" with xml syntax checker[1]. The example in apple doc[2] also doesn't have semicolon at the end of DOCTYPE line.

[1] https://www.w3schools.com/xml/xml_validator.asp
[2] https://opensource.apple.com/source/launchd/launchd-257/launchd/doc/HOWTO.html

Fixes b30e74b5956a ("wg-quick: darwin: support being called from launchd")
---
 contrib/launchd/com.wireguard.wg0.plist | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/launchd/com.wireguard.wg0.plist +1 -1
index 9fc0141..ea1eab6 100644
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
   <key>Label</key>
Signature · 1 line
2.26.3