From 87b5c30ef6d5b7b8a10d6a5a8610054c403923e6 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 9 Oct 2025 05:04:08 +0900 Subject: message: relocate from container This package is quite useful. This change allows it to be imported without importing container. Signed-off-by: Ophestra --- cmd/hpkg/paths.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/hpkg/paths.go') diff --git a/cmd/hpkg/paths.go b/cmd/hpkg/paths.go index e5c045a5..811c7b7a 100644 --- a/cmd/hpkg/paths.go +++ b/cmd/hpkg/paths.go @@ -7,10 +7,10 @@ import ( "strconv" "sync/atomic" - "hakurei.app/container" "hakurei.app/container/check" "hakurei.app/container/fhs" "hakurei.app/hst" + "hakurei.app/message" ) const bash = "bash" @@ -52,7 +52,7 @@ func lookPath(file string) string { var beforeRunFail = new(atomic.Pointer[func()]) -func mustRun(msg container.Msg, name string, arg ...string) { +func mustRun(msg message.Msg, name string, arg ...string) { msg.Verbosef("spawning process: %q %q", name, arg) cmd := exec.Command(name, arg...) cmd.Stdin, cmd.Stdout, cmd.Stderr = os.Stdin, os.Stdout, os.Stderr -- cgit v1.3.1