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:
parent
76e36b7f98
commit
6e764cde23
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user