]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Fixed warning in updxlrator
authorDaniel Glanzmann <dg@ipfire.org>
Fri, 19 Dec 2008 18:56:18 +0000 (19:56 +0100)
committerDaniel Glanzmann <dg@ipfire.org>
Fri, 19 Dec 2008 18:56:18 +0000 (19:56 +0100)
Since we are not running squid as root a chown to nodoby
will result in a warning

config/updxlrator/updxlrator

index 4d5d4ec6ea48a4bbf54e16f28543317083d3eca1..cc4caa825e2c396e53e8541f6baa1941788a9ffd 100644 (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