mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
fhem.pl: fix WrteStateFile Error (Forum #59547/#59541)
git-svn-id: https://svn.fhem.de/fhem/trunk@12420 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0bf368c96e
commit
d11a1f65f5
@ -1421,7 +1421,7 @@ WriteStatefile()
|
||||
}
|
||||
|
||||
my @arr = GetAllReadings($d);
|
||||
printf SFH join(@arr, "\n") if(@arr);
|
||||
printf SFH join("\n", @arr)."\n" if(@arr);
|
||||
}
|
||||
|
||||
return "$attr{global}{statefile}: $!" if(!close(SFH));
|
||||
|
Loading…
x
Reference in New Issue
Block a user