mirror of
https://github.com/kopia/kopia.git
synced 2026-03-19 22:56:29 -04:00
Changes kopia's behavior to match the exit code that would have been returned when the `--json` flag was not specified. `kopia snapshot create my/path --json` terminates with a 0 status code in cases where `kopia snapshot create my/path` terminates with a non-zero exit code. One such case is when there are permissions errors reading files or directories to snapshot. Adds end-to-end tests for snapshot create with '--json' flag