Skip to content

Commit

Permalink
Fix waiting for process completion
Browse files Browse the repository at this point in the history
  • Loading branch information
RodoMa92 authored Aug 26, 2023
1 parent 315cec7 commit e3a2cfc
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 @@ -211,7 +211,7 @@ async def do_update(self):
if get_selinux():
from asyncio.subprocess import create_subprocess_exec
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(f"Setting the executable flag with chcon returned {await process.wait()}")

logger.info("Updated loader installation.")
await tab.evaluate_js("window.DeckyUpdater.finish()", False, False)
Expand Down

0 comments on commit e3a2cfc

Please sign in to comment.