]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon/network: unix socket pre-bind handling
authorTomas Krizek <tomas.krizek@nic.cz>
Fri, 10 Jan 2020 15:42:52 +0000 (16:42 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Fri, 17 Jan 2020 12:39:35 +0000 (13:39 +0100)
commitd9b7792c4d48e0f959c8eee162ac1691d5904fac
tree7c80c2dcd410eb1c1173ac0539160d4ee45dcdd1
parentb3cf63d964d0a81ebd158d79420e134990ab474a
daemon/network: unix socket pre-bind handling

Unlink the unix address in case the file exists, e.g. from previous
unclean run.
Also attempt to create the directory for unix socket in case it doesn't
exist.
daemon/network.c