summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/bootloader-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/bootloader-config b/perl-install/standalone/bootloader-config
index e61dbd453..187ca3eed 100755
--- a/perl-install/standalone/bootloader-config
+++ b/perl-install/standalone/bootloader-config
@@ -98,7 +98,7 @@ sub remove_kernel() {
return;
}
- remove_kernel_generic();
+ remove_kernel_generic() if bootloader::main_method($bootloader->{method}) ne 'grub2';
modify_bootloader();
}