]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
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)
commit9a7e4364b1eef3fd34928fbf967a982c8bf2019d
treec55c0632736df7609c1828ef21897f11da90438b
parent197689a3cd310859a194ec0bebe6bf50c97171ba
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")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
contrib/launchd/com.wireguard.wg0.plist