From 4a95c0d07fa0345bb73987bd9c427b26edd6d597 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Fri, 22 Dec 2023 16:32:02 +0000 Subject: [PATCH] kata-deploy: snapshotter typo fixes - Add spaces so that the if statements are valid Fixes: #8720 Signed-off-by: stevenhorsman --- tools/packaging/kata-deploy/scripts/kata-deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packaging/kata-deploy/scripts/kata-deploy.sh b/tools/packaging/kata-deploy/scripts/kata-deploy.sh index 4d551e652..66e45a539 100755 --- a/tools/packaging/kata-deploy/scripts/kata-deploy.sh +++ b/tools/packaging/kata-deploy/scripts/kata-deploy.sh @@ -473,11 +473,11 @@ function snapshotter_handler_mapping_validation_check() { shim="${m%$snapshotters_delimiter*}" snapshotter="${m#*$snapshotters_delimiter}" - if [ -z "$shim"]; then + if [ -z "$shim" ]; then die "The snapshotter must follow the \"shim:snapshotter,shim:snapshotter,...\" format, but at least one shim is empty" fi - if [ -z "$snapshotter"]; then + if [ -z "$snapshotter" ]; then die "The snapshotter must follow the \"shim:snapshotter,shim:snapshotter,...\" format, but at least one snapshotter is empty" fi