Unverified Commit 759a0034 authored by Dimitri Fontaine's avatar Dimitri Fontaine Committed by GitHub
Browse files

Error out early when work dir does not exists and is expected to. (#171)

* Error out early when work dir does not exists and is expected to.

Auxilliary commands such as pgcopydb list progress expect the work directory
to have been created already. Check that early in the code.

* Fix copydb_init_workdir to specify if work dir should be created.

Then fix the callers and make most of them re-use a pre-existing directory
rather than create a default one and then use it.
parent 2ca73fe8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment