diff options
| author | Eric Biggers <ebiggers@google.com> | 2020-05-09 14:52:07 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2020-05-09 15:21:31 -0700 |
| commit | 37457cce5b0436493dba7cdac6e1af5f51d25f47 (patch) | |
| tree | 8f2e234aab045971fd5f4f74ff2836a4e19aa9a8 /cli-tests/t_encrypt_custom.out | |
| parent | e9919b0bfd00c7d228531ebafa410cbfdafcb2e3 (diff) | |
actions/protector: improve errors
ErrProtectorName:
Rename to ErrLoginProtectorName for clarity, and include the
name and user.
ErrMissingProtectorName:
Include the correct protector source.
ErrDuplicateName:
Rename to ErrProtectorNameExists for clarity, and remove a level
of wrapping by including the name directly.
ErrDuplicateUID:
Rename to ErrLoginProtectorExists for clarity, and remove a
level of wrapping by including the user directly.
Diffstat (limited to 'cli-tests/t_encrypt_custom.out')
| -rw-r--r-- | cli-tests/t_encrypt_custom.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-tests/t_encrypt_custom.out b/cli-tests/t_encrypt_custom.out index 572529a..e7b8656 100644 --- a/cli-tests/t_encrypt_custom.out +++ b/cli-tests/t_encrypt_custom.out @@ -46,7 +46,7 @@ PROTECTOR LINKED DESCRIPTION desc6 No custom protector "prot" # Try to use a custom protector without a name -[ERROR] fscrypt encrypt: custom protectors must have a name +[ERROR] fscrypt encrypt: custom_passphrase protectors must be named Use --name=PROTECTOR_NAME to specify a protector name. ext4 filesystem "MNT" has 0 protectors and 0 policies |