aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/setup.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fscrypt/setup.go')
-rw-r--r--cmd/fscrypt/setup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fscrypt/setup.go b/cmd/fscrypt/setup.go
index 1da0d16..b9a16e8 100644
--- a/cmd/fscrypt/setup.go
+++ b/cmd/fscrypt/setup.go
@@ -83,7 +83,7 @@ func setupFilesystem(w io.Writer, path string) error {
}
username := ctx.TargetUser.Username
- err = ctx.Mount.CheckSetup()
+ err = ctx.Mount.CheckSetup(ctx.TrustedUser)
if err == nil {
return &filesystem.ErrAlreadySetup{Mount: ctx.Mount}
}