global archivelog bug fixed.

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1579 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-05-23 09:27:26 +00:00
parent cbc9d92be8
commit eddf50ada5

View File

@ -913,9 +913,9 @@ OpenLogfile($)
} else {
HandleArchiving($defs{global});
$defs{global}{currentlogfile} = $param;
$defs{global}{logfile} = $attr{global}{logfile};
$defs{global}{currentlogfile} = $param;
HandleArchiving($defs{global});
open(LOG, ">>$currlogfile") || return("Can't open $currlogfile: $!");
redirectStdinStdErr() if($init_done);