fix keyword
This commit is contained in:
parent
39a61aeddd
commit
3ac30e5539
@ -196,7 +196,7 @@ def pkg_upgrade():
|
|||||||
log.warning(line)
|
log.warning(line)
|
||||||
|
|
||||||
if do_grub:
|
if do_grub:
|
||||||
keep_kernels = conf.getint('default', 'keep_kernels', default=4)
|
keep_kernels = conf.getint('default', 'keep_kernels', fallback=4)
|
||||||
if keep_kernels < 1:
|
if keep_kernels < 1:
|
||||||
log.error('keep_kernels cannot be less than one; falling back to default')
|
log.error('keep_kernels cannot be less than one; falling back to default')
|
||||||
keep_kernels = 4
|
keep_kernels = 4
|
||||||
|
Loading…
Reference in New Issue
Block a user