mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-21 21:46:15 +02:00
executePrivileged: stop progress bar before executing
This commit is contained in:
parent
42f9da1ffc
commit
3f743a4428
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue