mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-02 05:54:26 +01: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>