diff --git a/PVE/APLInfo.pm b/PVE/APLInfo.pm index f98ecfe7..a4acf490 100644 --- a/PVE/APLInfo.pm +++ b/PVE/APLInfo.pm @@ -213,8 +213,7 @@ sub get_apl_sources { sub update { my ($proxy) = @_; - my $size; - if (($size = (-s $logfile) || 0) > (1024*50)) { + if (-s $logfile || 0 > 1024 * 256) { rename($logfile, "$logfile.0"); } my $logfd = IO::File->new (">>$logfile");