mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
backup.pl: backup is always started in the background (Forum #80237)
git-svn-id: https://svn.fhem.de/fhem/trunk@15522 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3fd7f8a7d2
commit
c9053ddb9b
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- change: backup is always started in the background (Forum #80237)
|
||||
- bugfix: 72_FB_CALLMONITOR: fix not working reverse-search-phonebook
|
||||
file import
|
||||
- change: 93_DbLog: V2.22.15, some Log verbose level adapted/added
|
||||
|
@ -197,7 +197,7 @@ createArchiv($$)
|
||||
|
||||
}
|
||||
Log 2, "Backup with command: $cmd";
|
||||
if($cl && ref($cl) eq "HASH" && $cl->{TYPE} && $cl->{TYPE} eq "FHEMWEB") {
|
||||
if(!$fhemForked) {
|
||||
use Blocking;
|
||||
our $BC_telnetDevice;
|
||||
BC_searchTelnet("backup");
|
||||
|
@ -247,6 +247,7 @@ use vars qw(@authorize); # List of authorization devices
|
||||
use vars qw(@structChangeHist); # Contains the last 10 structural changes
|
||||
use vars qw($haveInet6); # Using INET6
|
||||
use vars qw(%prioQueues); #
|
||||
use vars qw($fhemForked); # 1 in a fhemFork()'ed process, else undef
|
||||
|
||||
$selectTimestamp = gettimeofday();
|
||||
$cvsid = '$Id$';
|
||||
@ -5006,6 +5007,7 @@ fhemFork()
|
||||
}
|
||||
}
|
||||
$SIG{CHLD} = 'DEFAULT'; # Forum #50898
|
||||
$fhemForked = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user