fix container_id var

This commit is contained in:
Heavybullets8 2022-08-21 23:12:32 -06:00
parent 518f7fa0d1
commit 58e7765794

View File

@ -67,7 +67,7 @@ case "${#containers[@]}" in
fi
done
container=$(echo "$cont_search" | grep ^"$selection)" | awk '{print $2}')
container_id=$(echo "$search" | grep -E "[[:space:]]${container}[[:space:]]" | awk '{print $1}')
container_id=$(grep -E "[[:space:]]${container}[[:space:]]" cont_file | awk '{print $1}')
;;
esac
while true