From 73913c8eb79135c7123f70c49d1e4207a8cf024c Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Fri, 12 May 2023 16:38:37 +0100 Subject: [PATCH] kata-manager: Fix '-o' syntax and logic error Fix the syntax and logic error that is only displayed if the user runs the script with `-o`. This option requests that "only" Kata Containers is installed and stops containerd from being installed. Fixes: #6822. Signed-off-by: James O. D. Hunt --- utils/kata-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/kata-manager.sh b/utils/kata-manager.sh index c51fb516cb..249a510fa3 100755 --- a/utils/kata-manager.sh +++ b/utils/kata-manager.sh @@ -262,7 +262,7 @@ pre_checks() command -v "${kata_shim_v2}" &>/dev/null \ && die "Please remove existing $kata_project installation" - [skip_containerd = "false" ] && return 0 + [ "$skip_containerd" = 'true' ] && return 0 local ret