From f92a0e18c1b6718b376b2568a4f9d62019972727 Mon Sep 17 00:00:00 2001 From: Daviddcc Date: Wed, 29 May 2024 01:56:39 +0200 Subject: [PATCH] Update rke2-killall.sh (#4111) * Update rke2-killall.sh prevent line truncating Co-authored-by: Brad Davidson --- bundle/bin/rke2-killall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/bin/rke2-killall.sh b/bundle/bin/rke2-killall.sh index cd4d30055b..1099ad90d7 100755 --- a/bundle/bin/rke2-killall.sh +++ b/bundle/bin/rke2-killall.sh @@ -31,7 +31,7 @@ killtree() { } getshims() { - ps -e -o pid= -o args= | sed -e 's/^ *//; s/\s\s*/\t/;' | grep -w 'rke2/data/[^/]*/bin/containerd-shim' | cut -f1 + COLUMNS=2147483647 ps -e -o pid= -o args= | sed -e 's/^ *//; s/\s\s*/\t/;' | grep -w 'rke2/data/[^/]*/bin/containerd-shim' | cut -f1 } do_unmount_and_remove() {