diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-22 06:55:02 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-22 06:58:45 +0900 |
| commit | 8accd3b2190d0527ec0d848c877b1a68abaac28c (patch) | |
| tree | 831d6ce88a4d461fd7c37165dbd1bb1549bf8092 /cmd | |
| parent | c5f59c5488cc529a5a7c7a89e1da56c2b44db16c (diff) | |
internal/app/shim: use syscall dispatcher
This enables instrumented testing of the shim.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hakurei/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hakurei/command.go b/cmd/hakurei/command.go index 2a387607..15973cf7 100644 --- a/cmd/hakurei/command.go +++ b/cmd/hakurei/command.go @@ -50,7 +50,7 @@ func buildCommand(ctx context.Context, msg message.Msg, early *earlyHardeningErr Flag(&flagVerbose, "v", command.BoolFlag(false), "Increase log verbosity"). Flag(&flagJSON, "json", command.BoolFlag(false), "Serialise output in JSON when applicable") - c.Command("shim", command.UsageInternal, func([]string) error { app.ShimMain(); return errSuccess }) + c.Command("shim", command.UsageInternal, func([]string) error { app.Shim(msg); return errSuccess }) c.Command("app", "Load and start container from configuration file", func(args []string) error { if len(args) < 1 { |
