mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Fix the incorrect regular expression to fetch the guest context ID. In " [^,][^,]* ", [^,]* will match to the next ",", which is after "socket", so finally got incorrect result. Use egrep -o "guest-cid=[0-9]*" instead. Fixes: #2124 Signed-off-by: Liang Zhou <zhoul110@chinatelecom.cn>