backup: fix handline "None" kernel
This commit is contained in:
parent
412bcfa88b
commit
304d2b10bc
@ -2237,7 +2237,7 @@ class BackupRestore(object):
|
|||||||
|
|
||||||
if hasattr(vm, 'kernel'):
|
if hasattr(vm, 'kernel'):
|
||||||
# TODO: add a setting for this?
|
# TODO: add a setting for this?
|
||||||
if not vm.property_is_default('kernel') and \
|
if not vm.property_is_default('kernel') and vm.kernel and \
|
||||||
vm.kernel not in \
|
vm.kernel not in \
|
||||||
os.listdir(os.path.join(qubes.config.qubes_base_dir,
|
os.listdir(os.path.join(qubes.config.qubes_base_dir,
|
||||||
qubes.config.system_path[
|
qubes.config.system_path[
|
||||||
|
Loading…
Reference in New Issue
Block a user