Skip to content

Commit

Permalink
Fix a parameter issue in create_subprocess_exec
Browse files Browse the repository at this point in the history
  • Loading branch information
RodoMa92 authored Aug 25, 2023
1 parent 4ca21ab commit 315cec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ async def do_update(self):
chmod(path.join(getcwd(), download_filename), 777, False)
if get_selinux():
from asyncio.subprocess import create_subprocess_exec
process = await create_subprocess_exec(["chcon", "-t", "bin_t", path.join(getcwd(), download_filename)])
process = await create_subprocess_exec("chcon", "-t", "bin_t", path.join(getcwd(), download_filename))
logger.info(f"Setting the executable flag with chcon returned {process.returncode}")

logger.info("Updated loader installation.")
Expand Down

0 comments on commit 315cec7

Please sign in to comment.