2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 23:09:26 +00:00

configdb - code improvement

git-svn-id: https://svn.fhem.de/fhem/trunk@5577 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2014-04-19 23:30:44 +00:00
parent 76e36b7f98
commit 6e764cde23

View File

@ -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') {