From c739d3f564e691d75a90ca22f9bf66fa4783fbdf Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 2 Mar 2022 15:34:15 -0500 Subject: [PATCH] Update update-lxcs.sh --- misc/update-lxcs.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/update-lxcs.sh b/misc/update-lxcs.sh index 6bbba261..ad2ec632 100644 --- a/misc/update-lxcs.sh +++ b/misc/update-lxcs.sh @@ -33,7 +33,6 @@ containers=$(pct list | tail -n +2 | cut -f1 -d' ') function update_container() { container=$1 echo -e "${BL}[Info]${GN} Updating${BL} $container ${CL} \n" - # to chain commands within one exec we will need to wrap them in bash pct exec $container -- bash -c "apt update && apt upgrade -y && apt autoremove -y" }