mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-02 22:07:13 +08:00
👷 don't use folowing arch_chroot for string which doesnt produce any output
This commit is contained in:
parent
fd307c9e98
commit
e7e2865a3e
@ -335,7 +335,7 @@ void set_hw_clock() noexcept {
|
||||
auto ok_callback = [&] {
|
||||
#ifdef NDEVENV
|
||||
const auto& clock_type = menu_entries[static_cast<std::size_t>(selected)];
|
||||
utils::arch_chroot(fmt::format(FMT_COMPILE("hwclock --systohc --{}"), clock_type));
|
||||
utils::arch_chroot(fmt::format(FMT_COMPILE("hwclock --systohc --{}"), clock_type), false);
|
||||
#endif
|
||||
screen.ExitLoopClosure()();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user