Fixed warning in updxlrator

Since we are not running squid as root a chown to nodoby
will result in a warning
This commit is contained in:
Daniel Glanzmann
2008-12-19 19:56:18 +01:00
parent c78bc836f7
commit e92a5d3339

View File

@@ -360,7 +360,6 @@ sub check_cache
&debuglog("File exists in cache and is up to date");
&debuglog("Retrieving file from cache ($updsource)");
&setcachestatus("$updcachedir/$vendorid/$uuid/access.log",time);
system("chown nobody.squid $vendorid/$uuid/access.log");
$cacheurl="http://$netsettings{'GREEN_ADDRESS'}:$http_port/updatecache/$vendorid/$uuid/$updfile";
}
else