diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-02-26 20:10:32 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-02-26 22:27:55 +0900 |
| commit | 80f9b62d254d4ad8ea05784a509a81d9851f30aa (patch) | |
| tree | c6205c701c63a0fc4d2c51ef5cd1a0f5a954693b /internal/app/process.go | |
| parent | 673b648bd35285a1dbfc0348716dd6bdd8064a51 (diff) | |
app: print comp values early
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/process.go')
| -rw-r--r-- | internal/app/process.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/app/process.go b/internal/app/process.go index fe17f0b7..2755230c 100644 --- a/internal/app/process.go +++ b/internal/app/process.go @@ -12,6 +12,7 @@ import ( "git.gensokyo.uk/security/fortify/fst" "git.gensokyo.uk/security/fortify/helper" + "git.gensokyo.uk/security/fortify/internal" "git.gensokyo.uk/security/fortify/internal/app/shim" "git.gensokyo.uk/security/fortify/internal/fmsg" "git.gensokyo.uk/security/fortify/internal/state" @@ -32,6 +33,10 @@ func (seal *outcome) Run(ctx context.Context, rs *fst.RunState) error { panic("invalid state") } + // read comp values early to allow for early failure + fmsg.Verbosef("version %s", internal.Version()) + fmsg.Verbosef("setuid helper at %s", internal.MustFsuPath()) + /* resolve exec paths */ |
