git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1966 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-10-15 08:01:58 +00:00
parent ea7683ad64
commit 917153a2e3

View File

@@ -883,7 +883,7 @@ CommandRereadCfg($$)
my ($cl, $param) = @_;
my $name = $cl->{NAME} if($cl);
my $cfgfile = ($param ? $param : $attr{global}{configfile});
return "Cannon open $cfgfile: $!" if(! -f $cfgfile);
return "Cannot open $cfgfile: $!" if(! -f $cfgfile);
$attr{global}{configfile} = $cfgfile;
WriteStatefile();