intel / intel/trustauthority-cli
--help option wants to log to non-existant directory
- Dominant language
- Go
- Stars
- 9
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
While packaging 6183e42d7d70dd1da79e0fbcbdee0092a28ab2ac, 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)
````
Contributor guide
Assessment
This issue has not been assessed yet.