diff options
| author | David Bremner <david@tethera.net> | 2021-02-17 11:26:15 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-20 07:53:02 -0300 |
| commit | 4e209ca99ac8084a357c6fc8d7773f6207cfa16d (patch) | |
| tree | 5b99f0a0e79aa7a06d28d6ffa08b98bfd125bb14 /lib/database.cc | |
| parent | a7873df331bcd53dd1bc8da95c4279163437cc13 (diff) | |
CLI/new: use configuration variable for backup directory
The stat is essentially replaced by the mkdir for error detection
purposes. This changes the default location for backups to make
things tidier, even in non-split configurations. Hopefully there is
not too many user scripts relying on the previous location.
Because the default location may not exist, replace the use of stat
for error detection with a call to mkdir.
Diffstat (limited to 'lib/database.cc')
0 files changed, 0 insertions, 0 deletions
