From 4c73e3beeb1098b51e9451262de7556801a3f7e8 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 27 Nov 2016 10:12:26 +0000 Subject: [PATCH] fhem.pl: Fix nrarchive for global (Forum #61450) git-svn-id: https://svn.fhem.de/fhem/trunk@12668 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/fhem.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/fhem.pl b/fhem/fhem.pl index f2c0b48d6..31664dbfa 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -3363,6 +3363,8 @@ HandleArchiving($;$) my $ard = $attr{$ln}{archivedir}; return if(!defined($nra)); + $nra++ if($ln eq "global"); # Forum #61450 + # If nrarchive is set, then check the last files: # Get a list of files: