diff options
| author | Eric Biggers <ebiggers@google.com> | 2020-05-09 14:52:06 -0700 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2020-05-09 15:21:31 -0700 |
| commit | e9919b0bfd00c7d228531ebafa410cbfdafcb2e3 (patch) | |
| tree | 477a5b64ddbf6f21e385aadf4f6904f9902bac74 /cli-tests/t_setup.out | |
| parent | 1a47ab1e565f7052e34b0677a1df6789e6ecf3a9 (diff) | |
actions/config: improve config file related errors
ErrBadConfig:
Fix backwards wrapping, include the bad config, and make it
clear that this is an internal error.
ErrBadConfigFile:
Fix backwards wrapping, include the config file location, and
adjust the suggestion slightly.
ErrConfigFileExists:
Include the config file location.
ErrNoConfigFile:
Include the config file location, and adjust the suggestion
slightly.
Diffstat (limited to 'cli-tests/t_setup.out')
| -rw-r--r-- | cli-tests/t_setup.out | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli-tests/t_setup.out b/cli-tests/t_setup.out index e1606ba..7d597bd 100644 --- a/cli-tests/t_setup.out +++ b/cli-tests/t_setup.out @@ -38,12 +38,12 @@ Metadata directories created at "MNT/.fscrypt". with fscrypt # no config file -[ERROR] fscrypt setup: global config file does not exist +[ERROR] fscrypt setup: "FSCRYPT_CONF" doesn't exist -Run "sudo fscrypt setup" to create the file. +Run "sudo fscrypt setup" to create this file. # bad config file -[ERROR] fscrypt setup: invalid character 'b' looking for beginning of value: - global config file has invalid data +[ERROR] fscrypt setup: "FSCRYPT_CONF" is invalid: invalid + character 'b' looking for beginning of value -Run "sudo fscrypt setup" to recreate the file. +Either fix this file manually, or run "sudo fscrypt setup" to recreate it. |