mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-03-18 20:39:46 +00:00
fix: wrong unit name again
This commit is contained in:
parent
b98c020f23
commit
ad069a2ad2
1 changed files with 2 additions and 1 deletions
|
@ -74,6 +74,7 @@ def rebuild_system_task(job: Job, upgrade: bool = False):
|
||||||
result="System rebuilt.",
|
result="System rebuilt.",
|
||||||
progress=100,
|
progress=100,
|
||||||
)
|
)
|
||||||
|
break
|
||||||
elif status.stdout.strip() == "failed":
|
elif status.stdout.strip() == "failed":
|
||||||
Jobs.update(
|
Jobs.update(
|
||||||
job=job,
|
job=job,
|
||||||
|
@ -87,7 +88,7 @@ def rebuild_system_task(job: Job, upgrade: bool = False):
|
||||||
[
|
[
|
||||||
"journalctl",
|
"journalctl",
|
||||||
"-u",
|
"-u",
|
||||||
"selfprivacy-upgrade",
|
unit_name,
|
||||||
"-n",
|
"-n",
|
||||||
"1",
|
"1",
|
||||||
"-o",
|
"-o",
|
||||||
|
|
Loading…
Add table
Reference in a new issue