mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🚧 hotfix
Append to logfile instead of always starting at the beginning of the file
This commit is contained in:
parent
e4d170486c
commit
79b90168af
@ -102,7 +102,7 @@ void arch_chroot(const std::string_view& command, bool follow) noexcept {
|
||||
auto& config_data = config_instance->data();
|
||||
|
||||
const auto& mountpoint = std::get<std::string>(config_data["MOUNTPOINT"]);
|
||||
const auto& cmd_formatted = fmt::format(FMT_COMPILE("arch-chroot {} {} 2>/tmp/cachyos-install.log"), mountpoint, command);
|
||||
const auto& cmd_formatted = fmt::format(FMT_COMPILE("arch-chroot {} {} 2>>/tmp/cachyos-install.log"), mountpoint, command);
|
||||
if (follow) {
|
||||
tui::detail::follow_process_log_widget({"/bin/sh", "-c", cmd_formatted});
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user