Skip to content

bootchartd: fix wait_boot spin when EXIT_PROC is empty#2

Open
aanderse wants to merge 1 commit into
finit-project:mainfrom
aanderse:no-exit-proc
Open

bootchartd: fix wait_boot spin when EXIT_PROC is empty#2
aanderse wants to merge 1 commit into
finit-project:mainfrom
aanderse:no-exit-proc

Conversation

@aanderse

Copy link
Copy Markdown

With no EXIT_PROC configured there is no process to watch for, so wait_boot() never completes. Return early when EXIT_PROC is empty and let collection be stopped explicitly with bootchartd stop.


i thought it would be useful to just run bootchartd stop from a finit task, like when my graphical login manager starts 🤷‍♂️

With no EXIT_PROC configured there is no process to watch for, so
wait_boot() never completes. Return early when EXIT_PROC is empty
and let collection be stopped explicitly with `bootchartd stop`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant