From 3f743a44286a669908d6075f8696656e4bc853a5 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 7 Jan 2023 16:56:09 +0100 Subject: [PATCH] executePrivileged: stop progress bar before executing --- src/nix/system.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nix/system.cc b/src/nix/system.cc index 999f1c7d3..2cacbecd3 100644 --- a/src/nix/system.cc +++ b/src/nix/system.cc @@ -32,6 +32,8 @@ using namespace nix; void executePrivileged(std::string program, Strings args) { + stopProgressBar(); + restoreProcessContext(); args.push_front(program); auto exe = program; auto privCmds = Strings {