diff --git a/misc/clean-lxcs.sh b/misc/clean-lxcs.sh index 21d4f892..f94141e7 100644 --- a/misc/clean-lxcs.sh +++ b/misc/clean-lxcs.sh @@ -37,7 +37,7 @@ function clean_container() { echo -e "${BL}[Info]${GN} Cleaning ${name} ${CL} \n" pct exec $container -- bash -c "apt-get -y --purge autoremove && apt-get -y autoclean && bash <(curl -fsSL https://github.com/tteck/Proxmox/raw/dev/misc/clean.sh) && rm -rf /var/lib/apt/lists/* && apt-get update" } -read -p "Skip stopped containers? " -n 1 -r +read -p "Skip stopped containers? [y/N]" -n 1 -r echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then skip=no