From 80dcf76e479a31cc552054e6d2ef4a95f6d0072c Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Thu, 21 Aug 2014 07:21:37 +0000 Subject: [PATCH] update: no backup for the check command git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6438 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_update.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index efebda78d..af27a5b1d 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -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";