From 3ac30e55398f79625896b4fa2f9fef927df8808a Mon Sep 17 00:00:00 2001 From: Fredrik Eriksson Date: Sun, 21 May 2023 08:35:25 +0200 Subject: [PATCH] fix keyword --- sau/gentoo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sau/gentoo.py b/sau/gentoo.py index ffc99cb..b3bd814 100644 --- a/sau/gentoo.py +++ b/sau/gentoo.py @@ -196,7 +196,7 @@ def pkg_upgrade(): log.warning(line) 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: log.error('keep_kernels cannot be less than one; falling back to default') keep_kernels = 4