Merge pull request #27787 from keszybz/firstboot-synchronous-restart

firstboot: make restart of vconsole-setup synchronuous
This commit is contained in:
Mike Yuan
2023-05-27 02:30:45 +08:00
committed by GitHub
4 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ static int allocate_scope(void) {
r = bus_wait_for_jobs_new(bus, &w);
if (r < 0)
return log_oom();
return log_error_errno(r, "Could not watch jobs: %m");
if (asprintf(&scope, "%s-%" PRIx64 ".scope", program_invocation_short_name, random_u64()) < 0)
return log_oom();