mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
analyze: give a hint what is it means that boot is still active
$ build/systemd-analyze time Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0). Please try again later. Hint: Use 'systemctl list-jobs' to see active jobs
This commit is contained in:
parent
e9e8cbc83a
commit
1e9f0ccadf
@ -303,7 +303,11 @@ static int acquire_boot_times(sd_bus *bus, struct boot_times **bt) {
|
||||
return -EIO;
|
||||
|
||||
if (times.finish_time <= 0) {
|
||||
log_error("Bootup is not yet finished. Please try again later.");
|
||||
log_error("Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=%"PRIu64").\n"
|
||||
"Please try again later.\n"
|
||||
"Hint: Use 'systemctl%s list-jobs' to see active jobs",
|
||||
times.finish_time,
|
||||
arg_scope == UNIT_FILE_SYSTEM ? "" : " --user");
|
||||
return -EINPROGRESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user