mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-05 23:54:19 +00:00
fix: wrong unit name again
This commit is contained in:
parent
b98c020f23
commit
ad069a2ad2
|
@ -74,6 +74,7 @@ def rebuild_system_task(job: Job, upgrade: bool = False):
|
|||
result="System rebuilt.",
|
||||
progress=100,
|
||||
)
|
||||
break
|
||||
elif status.stdout.strip() == "failed":
|
||||
Jobs.update(
|
||||
job=job,
|
||||
|
@ -87,7 +88,7 @@ def rebuild_system_task(job: Job, upgrade: bool = False):
|
|||
[
|
||||
"journalctl",
|
||||
"-u",
|
||||
"selfprivacy-upgrade",
|
||||
unit_name,
|
||||
"-n",
|
||||
"1",
|
||||
"-o",
|
||||
|
|
Loading…
Reference in a new issue