aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-18 17:36:58 +0900
committerOphestra <cat@gensokyo.uk>2025-02-18 17:39:53 +0900
commit2c9c7fee5b42d8f32be9ff55ad92345ae62c0af7 (patch)
tree90209f024a847576033e5fdda340fa6d3b662d74 /internal/app
parentd0400f3c81ce6d1976d9e4e527b1d342f4bc270d (diff)
linux: wrap fsu lookup error
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app')
-rw-r--r--internal/app/seal.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/app/seal.go b/internal/app/seal.go
index 6ad7edb3..3ac31c8d 100644
--- a/internal/app/seal.go
+++ b/internal/app/seal.go
@@ -149,8 +149,7 @@ func (a *app) Seal(config *fst.Config) error {
// invoke fsu for full uid
if u, err := a.os.Uid(seal.sys.user.aid); err != nil {
- return fmsg.WrapErrorSuffix(err,
- "cannot obtain uid from fsu:")
+ return err
} else {
seal.sys.user.uid = u
seal.sys.user.us = strconv.Itoa(u)