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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user