diff --git a/src/tui.cpp b/src/tui.cpp index d6af57d..661fc72 100644 --- a/src/tui.cpp +++ b/src/tui.cpp @@ -234,6 +234,8 @@ void install_systemd_boot() noexcept { const auto& uefi_mount = std::get(config_data["UEFI_MOUNT"]); { + char* sbuffer = NULL; + fflush(stderr); /* save stderr */ FILE* sbuf = stderr;