From 37d6d2bfe501edd68558a0f86bde5f5aedf90c5d Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Sun, 22 Jan 2023 00:11:51 +0100 Subject: [PATCH] core: Use new -f flag --- vanilla_first_setup/utils/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanilla_first_setup/utils/processor.py b/vanilla_first_setup/utils/processor.py index b2f763a..4fe6c05 100644 --- a/vanilla_first_setup/utils/processor.py +++ b/vanilla_first_setup/utils/processor.py @@ -116,7 +116,7 @@ class Processor: cmd = ["pkexec", "sh", f.name] if abroot_bin := shutil.which("abroot"): - cmd = ["pkexec", abroot_bin, "exec", "--assume-yes", "sh", f.name] + cmd = ["pkexec", abroot_bin, "exec", "-f", "sh", f.name] #proc = subprocess.run(cmd) # the above is wrong, we need to show the output in the console but also capture it