More verbose update
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1519 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -107,7 +107,8 @@ CommandUpdatefhem($$)
|
|||||||
open(FH,">$localfile") || return "Can't write $localfile";
|
open(FH,">$localfile") || return "Can't write $localfile";
|
||||||
print FH $content;
|
print FH $content;
|
||||||
close(FH);
|
close(FH);
|
||||||
Log 1, "updated $remfile";
|
$ret .= "updated $f\n";
|
||||||
|
Log 1, "updated $f";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "Can't write $moddir/$ftime" if(!open(FH, ">$moddir/$ftime"));
|
return "Can't write $moddir/$ftime" if(!open(FH, ">$moddir/$ftime"));
|
||||||
@@ -122,6 +123,7 @@ CommandUpdatefhem($$)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ret .= "update finished\n";
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user