diff --git a/master.py b/master.py index 7ff7da2..872472a 100644 --- a/master.py +++ b/master.py @@ -114,7 +114,7 @@ def do_repo_work() -> None: for repo in repos: os.chdir(os.path.join(config["basedir"]["repo"], repo, "os", config["arch"])) args = ["repo-add", "-s", "-v", "-p", "-n", repo + ".db.tar.xz", "*.zst"] - r_res = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + r_res = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True) logging.debug("[REPO-ADD] %s", r_res.stdout.decode(errors="ignore")) if r_res.returncode: logging.error("[REPO/%s] Repo action failed: %s", repo, r_res.stdout.decode(errors="ignore"))