Update kernel-clean.sh

This commit is contained in:
tteckster 2022-03-05 10:30:09 -05:00 committed by GitHub
parent 4984b5d6f5
commit 6fa11ff520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function kernel_clean {
if [[ "$kernels_to_remove" != *"pve"* ]]; then if [[ "$kernels_to_remove" != *"pve"* ]]; then
printf "It appears there are no old Kernels on your system \n" printf "It appears there are no old Kernels on your system \n"
else else
read -p "[!] Would you like to remove the $(echo $kernels_to_remove | awk '{print NF}') selected Kernels listed above? [y/N]: " -n 1 -r read -p "[!] Would you like to remove the $(echo $kernels_to_remove | awk '{print NF}') selected Kernels listed above? [y/n]: " -n 1 -r
printf "\n" printf "\n"
fi fi
if [[ $REPLY =~ ^[Yy]$ ]]; then if [[ $REPLY =~ ^[Yy]$ ]]; then