mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 17:36:39 +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:
parent
1e74fe22ac
commit
39ca0e40df
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user