Skip to content

--help option wants to log to non-existant directory #8

@olafhering

Description

@olafhering

While packaging 6183e42, and do a very simple-minded verification by running $exe --help, it turned out the app does not run at all unless the log directory exist:

[   29s] Executing(%check): /usr/bin/bash -e /var/tmp/rpm-tmp.9Gik3M
[   29s] + umask 022
[   29s] + cd /home/abuild/rpmbuild/BUILD
[   29s] + cd trustauthority-cli-1.11.0
[   29s] + mkdir -vp /home/abuild/.config
[   29s] + ./v1 --help
[   29s] Error opening/creating log file: open /home/abuild/.config/trustauthorityctl/logs/trustauthorityctl.log: no such file or directo
ry
[   29s] error: Bad exit status from /var/tmp/rpm-tmp.9Gik3M (%check)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions