From fadb02727ea3fda8e7e3eee2bd38ff4251e341a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Fri, 8 Oct 2021 10:15:23 +0200 Subject: [PATCH] Improve Dumpling/Lightning compatibility (#1569) --- pkg/exec/run.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/exec/run.go b/pkg/exec/run.go index 0d196148ac..4450da8ea7 100644 --- a/pkg/exec/run.go +++ b/pkg/exec/run.go @@ -261,6 +261,12 @@ func launchComponent(ctx context.Context, component string, version utils.Versio instanceDir = env.LocalPath(localdata.DataParentDir, tag) } + if len(args) > 0 { + if args[0] == "--" { + args = args[1:] + } + } + params := &PrepareCommandParams{ Ctx: ctx, Component: component,