Skip to content

Commit

Permalink
update engine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Batcastle committed Jan 15, 2023
1 parent 6d2d7ea commit 346c370
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions usr/share/system-installer/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ def copy_log_to_disk():
common.eprint(f" ### {sys.argv[0]} CLOSED ### ")
copy_log_to_disk()
subprocess.Popen(["su", "live", "-c",
f"/usr/share/system-installer/success.py \'{json.dumps(SETTINGS)}\'",
"1>/tmp/system-installer.log",
"2>/tmp/system-installer.log"], shell=True)
f"/usr/share/system-installer/success.py \'{json.dumps(SETTINGS)}\'"])
os.kill(pid, 15)
except Exception as error:
os.kill(pid, 15)
Expand Down

0 comments on commit 346c370

Please sign in to comment.