troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
621 stars 61 forks source link

initctl.c: fix a return value of run tasks #233

Closed liuming50 closed 2 years ago

liuming50 commented 2 years ago

When a run task is started with svc->started = 1, it should be considered started successfully so it should return 0.

Signed-off-by: Ming Liu liu.ming50@gmail.com

liuming50 commented 2 years ago

@troglobit Changes in patch set V2:

1 Changes combined to one commit. 2 Change the status string to 'done' as you suggested.

troglobit commented 2 years ago

Awesome, thank you! <3