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 /internal/app/app.go | |
| 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 'internal/app/app.go')
| -rw-r--r-- | internal/app/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/app/app.go b/internal/app/app.go index 0d5f1a50..4d9d2efe 100644 --- a/internal/app/app.go +++ b/internal/app/app.go @@ -18,7 +18,7 @@ func Main(ctx context.Context, msg message.Msg, config *hst.Config) { log.Fatal(err) } - seal := outcome{syscallDispatcher: direct{}} + seal := outcome{syscallDispatcher: direct{msg}} if err := seal.finalise(ctx, msg, &id, config); err != nil { printMessageError("cannot seal app:", err) os.Exit(1) |
