mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-29 22:03:22 -02:30
With an empty 'ip netns list' (the common case), xargs without -r still runs 'ip netns delete' once with no argument. That fails, so the && chain short-circuits and 'crictl rmp -a -f' never runs: the rescue path leaves the pod sandboxes behind, which is exactly what it is there to clean up. Other tasks in the same file already use xargs -r.