try to ensure proper ownership of db_dir

If user has been set, try to ensure that db_dir is owned by that user.
If that fails, log an error.
This commit is contained in:
Justin Maggard
2014-02-27 15:47:02 -08:00
parent 4236d53b59
commit 6cef303fc1
2 changed files with 9 additions and 1 deletions

View File

@ -733,7 +733,7 @@ SendSSDPGoodbyes(int s)
(i > 0 ? "::" : ""),
(i > 0 ? known_service_types[i] : ""),
(i > 1 ? "1" : ""));
DPRINTF(E_MAXDEBUG, L_SSDP, "Sending ssdp:byebye [%s]\n", s);
DPRINTF(E_MAXDEBUG, L_SSDP, "Sending ssdp:byebye [%d]\n", s);
n = sendto(s, bufr, l, 0,
(struct sockaddr *)&sockname, sizeof(struct sockaddr_in) );
if (n < 0)