backups: restore default SIGCHLD handler for the backup time
The same as for restore.
This commit is contained in:
parent
f7db4725a2
commit
11aff876a5
@ -304,6 +304,7 @@ class BackupVMsWindow(Ui_Backup, QWizard):
|
|||||||
|
|
||||||
|
|
||||||
def current_page_changed(self, id):
|
def current_page_changed(self, id):
|
||||||
|
old_sigchld_handler = signal.signal(signal.SIGCHLD, signal.SIG_DFL)
|
||||||
if self.currentPage() is self.confirm_page:
|
if self.currentPage() is self.confirm_page:
|
||||||
|
|
||||||
self.target_appvm = None
|
self.target_appvm = None
|
||||||
@ -351,7 +352,7 @@ class BackupVMsWindow(Ui_Backup, QWizard):
|
|||||||
detach_device(self, str(self.dev_combobox.itemData(
|
detach_device(self, str(self.dev_combobox.itemData(
|
||||||
self.dev_combobox.currentIndex()).toString()))
|
self.dev_combobox.currentIndex()).toString()))
|
||||||
self.button(self.FinishButton).setEnabled(True)
|
self.button(self.FinishButton).setEnabled(True)
|
||||||
|
signal.signal(signal.SIGCHLD, old_sigchld_handler)
|
||||||
|
|
||||||
def reject(self):
|
def reject(self):
|
||||||
#cancell clicked while the backup is in progress.
|
#cancell clicked while the backup is in progress.
|
||||||
|
Loading…
Reference in New Issue
Block a user