aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/share.system.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/app/share.system.go')
-rw-r--r--internal/app/share.system.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/share.system.go b/internal/app/share.system.go
index b8c5f063..600119ee 100644
--- a/internal/app/share.system.go
+++ b/internal/app/share.system.go
@@ -1,10 +1,10 @@
package app
import (
- "os"
"path"
"git.ophivana.moe/security/fortify/acl"
+ "git.ophivana.moe/security/fortify/internal"
"git.ophivana.moe/security/fortify/internal/system"
)
@@ -38,7 +38,7 @@ func (seal *appSeal) shareSystem() {
seal.sys.bwrap.Tmpfs(seal.SharePath, 1*1024*1024)
}
-func (seal *appSeal) sharePasswd() {
+func (seal *appSeal) sharePasswd(os internal.System) {
// look up shell
sh := "/bin/sh"
if s, ok := os.LookupEnv(shell); ok {