diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-08 22:29:41 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-08 22:29:41 +0900 |
| commit | d5fb179012e36436a81761502948c91d44d21cc3 (patch) | |
| tree | 512f44f6bc8519aa4e4a4853c0419869ebaf2570 /cmd | |
| parent | 462863e2908bf14d36f726a06bf22e9e1aceb7b5 (diff) | |
cmd/hakurei: exec instead of fork/exec from shell
There is no reason to keep the shell process around.
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 8f20c8ed..ca685790 100644 --- a/cmd/hakurei/command.go +++ b/cmd/hakurei/command.go @@ -191,7 +191,7 @@ func buildCommand(ctx context.Context, msg message.Msg, early *earlyHardeningErr if flagPulse { config.Container.Filesystem = append(config.Container.Filesystem, hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSDaemon{ Target: fhs.AbsRunUser.Append(strconv.Itoa(container.OverflowUid(msg)), "pulse/native"), - Exec: shell, Args: []string{"-lc", "pipewire-pulse"}, + Exec: shell, Args: []string{"-lc", "exec pipewire-pulse"}, }}) } |
