2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 11:26:55 +00:00

update: no backup for the check command

git-svn-id: https://svn.fhem.de/fhem/trunk@6438 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-08-21 07:21:37 +00:00
parent 1e74fe22ac
commit 39ca0e40df

View File

@ -112,7 +112,7 @@ doUpdate($$)
$basePath = $1;
$ctrlFileName = $2;
if(AttrVal("global", "backup_before_update", 0)) {
if(AttrVal("global", "backup_before_update", 0) && $arg ne "check") {
my $cmdret = AnalyzeCommand(undef, "backup");
if ($cmdret !~ m/backup done.*/) {
uLog 1, "Something went wrong during backup: $cmdret";