diff options
Diffstat (limited to 'sys-apps/kexec-tools/kexec-tools-9999.ebuild')
-rw-r--r-- | sys-apps/kexec-tools/kexec-tools-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild b/sys-apps/kexec-tools/kexec-tools-9999.ebuild index 86b8d9fc9789..b69a3c09e13d 100644 --- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild +++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -114,7 +114,7 @@ pkg_postinst() { fi fi - if [[ ${n_root_args} > 1 && "${has_rootpart_set}" == "no" ]]; then + if [[ ${n_root_args} -gt 1 && "${has_rootpart_set}" == "no" ]]; then ewarn "WARNING: Multiple root arguments (root=) on kernel command-line detected!" ewarn "This was probably caused by a previous version of ${PN}." ewarn "Please reboot system once *without* kexec to avoid boot problems" |