don't change back to script dir if not changed beforehand
This commit is contained in:
@@ -130,7 +130,6 @@ def do_repo_work() -> None:
|
|||||||
logging.debug("[PACCACHE] %s", p_res.stdout.decode(errors="ignore"))
|
logging.debug("[PACCACHE] %s", p_res.stdout.decode(errors="ignore"))
|
||||||
if p_res.returncode:
|
if p_res.returncode:
|
||||||
logging.error("[REPO/%s] Repo cleanup failed: %s", repo, p_res.stdout.decode(errors="ignore"))
|
logging.error("[REPO/%s] Repo cleanup failed: %s", repo, p_res.stdout.decode(errors="ignore"))
|
||||||
os.chdir(sys.path[0])
|
|
||||||
|
|
||||||
|
|
||||||
def already_running() -> bool:
|
def already_running() -> bool:
|
||||||
|
Reference in New Issue
Block a user