From 15155d62a575b1f9581a741e3cfdd31b06ac84fc Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 13 Sep 2015 10:42:30 +0000 Subject: [PATCH] 98_update.pm: allow \r in controlfile (Forum #40799) git-svn-id: https://svn.fhem.de/fhem/trunk@9240 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 03c78b502..3e7edd248 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -130,7 +130,7 @@ doUpdate($$) my $remCtrlFile = upd_getUrl($src); return if(!$remCtrlFile); - my @remList = split("\n", $remCtrlFile); + my @remList = split(/\R/, $remCtrlFile); uLog 4, "Got remote controlfile with ".int(@remList)." entries."; ###########################