`chasquid-util user-add` is meant to create the domain directory if it doesn't exist; however there's a bug that makes this not happen, and instead the command fails with: Error writing database: open <path>: no such file or directory This patch fixes the issue and adds a test to ensure we don't have any regressions on this behaviour. Thanks to raspbeguy (https://github.com/raspbeguy) for reporting this issue (on IRC).
1.5 KiB
Executable File
1.5 KiB
Executable File