From 4cc22ab76644333041013e03b97a5830a9bbc919 Mon Sep 17 00:00:00 2001 From: Ashique Saidalavi Date: Tue, 6 Aug 2024 17:54:13 +0530 Subject: [PATCH] exclude shell-init from license enforcement Signed-off-by: Ashique Saidalavi --- components/main-chef-wrapper/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/main-chef-wrapper/main.go b/components/main-chef-wrapper/main.go index 44de1bb01..cbd06189e 100644 --- a/components/main-chef-wrapper/main.go +++ b/components/main-chef-wrapper/main.go @@ -185,7 +185,7 @@ func main() { } func initLicensing() { - if os.Args[1] == "license" { + if os.Args[1] == "license" || os.Args[1] == "shell-init" { return }