2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-18 05:56:03 +00:00

98_update.pm: fix updateInBackground=0 & backup_before_update=1 (Forum #82614)

git-svn-id: https://svn.fhem.de/fhem/trunk@15861 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-01-12 20:44:51 +00:00
parent c633c92d6c
commit 340d27abe1

View File

@ -251,7 +251,7 @@ doUpdate($$$$)
if(AttrVal("global", "backup_before_update", 0) &&
$arg ne "check" && $curr==1) {
my $cmdret = AnalyzeCommand(undef, "backup");
if ($cmdret !~ m/backup done.*/) {
if($cmdret !~ m/backup done.*|Started.*in the background/) {
uLog 1, "Something went wrong during backup: $cmdret";
uLog 1, "update was canceled. Please check manually!";
return;