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 {