From: xf0r3m Date: Sat, 15 Jul 2023 07:53:58 +0000 (+0200) Subject: Poprawienie błędu w funkcji 'update_containers_description' X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=b94e0c0ded07f2918111125ab3422fb8d5009483;p=idle.git Poprawienie błędu w funkcji 'update_containers_description' --- diff --git a/database.sh b/database.sh index 8758187..d9ce991 100644 --- a/database.sh +++ b/database.sh @@ -6,7 +6,7 @@ function update_containers_description() { list=$(cut -d ";" -f 1 $DATABASE |\ sed -e 's/images://g' -e 's@/amd64@@g' |\ awk '{printf $1" "}'); - lxc image list :images -f csv > /tmp/idle_images_list.csv; + lxc image list images: -f csv > /tmp/idle_images_list.csv; for contName in $list; do contDesc=$(grep "${contName}\ " /tmp/idle_images_list.csv | grep 'amd64' | grep 'CONTAINER' | cut -d "," -f 4); dbLine=$(grep "^images:${contName}" $DATABASE);