aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJens Grassel <jens@wegtam.com>2024-07-13 09:22:40 +0200
committerRobin Jarry <robin@jarry.cc>2024-07-15 22:39:12 +0200
commitd2e2a3e290f98005e9715a7e752cd273fb4205a7 (patch)
treea2332085fd28bf7cb6efca94fc3821cf659db683 /.github
parent5f8620445ed9686af8b2570e0d5860ef3b5ae4ff (diff)
downloadaerc-d2e2a3e290f98005e9715a7e752cd273fb4205a7.tar.gz
log: create directories if necessary
If a log file is configured via `log-file` and the parent directory does not exist then aerc exits with an error message on startup. Check if the directory for the log file exists and create it if necessary using sensible permissions (0700). Errors occurring while creating the directory structure are returned and printed out. Changelog-fixed: Startup error if `log-file` directory does not exist. Signed-off-by: Jens Grassel <jens@wegtam.com> Reviewed-by: Moritz Poldrack <moritz@poldrack.dev> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions