mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-02-04 21:19:14 +00:00
When opening a log file fails (--log file=/some/path) for whatever reason the @logfd variable is left set to -1 (the retval of open()). And due to how _logprintf() is written, the subsequent attempt to log this failure (logprintf()) returns too early not printing the useful error. Therefore, restore the original (CONSOLE_LOGGING) value. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> |
||
|---|---|---|
| .. | ||
| selinux | ||
| swtpm | ||
| swtpm_bios | ||
| swtpm_cert | ||
| swtpm_ioctl | ||
| swtpm_localca | ||
| swtpm_setup | ||
| utils | ||
| Makefile.am | ||