fixed path for attr global backupdir

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1584 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mfr69bs
2012-05-24 22:18:29 +00:00
parent a51ae7ef68
commit 0b5b5ac788

View File

@@ -302,7 +302,7 @@ CommandUpdatefhem($$)
$ret .= "Housekeeping finished. 'shutdown restart' is recommended!";
my $backupdir;
if ($attr{global}{backupdir}) {
$backupdir = $attr{global}{backupdir};
$backupdir = "$modpath/$attr{global}{backupdir}";
} else {
$backupdir = "$modpath/backup";
}