]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
contrib/launchd: fix xml syntax error
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 17 May 2021 08:17:30 +0000 (16:17 +0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 17 May 2021 09:43:06 +0000 (11:43 +0200)
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")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
contrib/launchd/com.wireguard.wg0.plist

index 9fc01414864a132e8a97d559bb3e20968a503f21..ea1eab6a4c997e5d187d018860ea47a3f23c42a5 100644 (file)
@@ -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>