diff options
| author | Joseph Richey <joerichey@google.com> | 2017-09-06 18:16:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-06 18:16:03 -0700 |
| commit | a949b13dac670014c37c7181e368b9c0c7a7f0f5 (patch) | |
| tree | a3870fa79d5946bac4b02f450288c8c9e5758659 /cmd/fscrypt | |
| parent | 0879b8ffcbbac29c282084eea2888194371113fa (diff) | |
Fixes logging string for policies
We should always log the descriptor not the entire policy structure.
Diffstat (limited to 'cmd/fscrypt')
| -rw-r--r-- | cmd/fscrypt/commands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fscrypt/commands.go b/cmd/fscrypt/commands.go index fd90626..bd4827b 100644 --- a/cmd/fscrypt/commands.go +++ b/cmd/fscrypt/commands.go @@ -292,7 +292,7 @@ func unlockAction(c *cli.Context) error { } // Check if directory is already unlocked if policy.IsProvisioned() { - log.Printf("policy %s is already provisioned", policy) + log.Printf("policy %s is already provisioned", policy.Descriptor()) return newExitError(c, errors.Wrapf(ErrPolicyUnlocked, path)) } |