update: Fixing error message.

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6429 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-08-20 14:54:07 +00:00
parent 1e31974754
commit 12cc0e3c63

View File

@@ -196,13 +196,12 @@ doUpdate($$)
return if(!$remFile); # Error already reported
if(length($remFile) ne $r[2]) {
uLog 1, "$remFile is ".length($remFile)." bytes, not $r[2] as expected";
uLog 1, "$fName is ".length($remFile)." bytes, not $r[2] as expected";
uLog 1, "aborting.";
return;
}
return if(!upd_writeFile($root, $restoreDir, $fName, $remFile));
}
if($nChanged == 0) {