configdb - code improvement
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5577 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -201,11 +201,7 @@ sub CommandConfigdb($$) {
|
||||
$filename = $attr{global}{modpath};
|
||||
$filename .= "/$param1";
|
||||
}
|
||||
if ( -w $filename ) {
|
||||
$ret = _cfgDB_Fileexport $filename;
|
||||
} else {
|
||||
$ret = "\n Write error on file $filename";
|
||||
}
|
||||
$ret = _cfgDB_Fileexport $filename;
|
||||
}
|
||||
|
||||
when ('fileimport') {
|
||||
|
||||
Reference in New Issue
Block a user