git-svn-id: https://svn.fhem.de/fhem/trunk@1966 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-10-15 08:01:58 +00:00
parent b85b522739
commit 84e8a6edd3

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();