1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-26 10:49:56 +02:00

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

View File

@ -62,7 +62,7 @@ function kernel_clean {
if [[ "$kernels_to_remove" != *"pve"* ]]; then
printf "It appears there are no old Kernels on your system \n"
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"
fi
if [[ $REPLY =~ ^[Yy]$ ]]; then