forked from such-gitea/wownero
The daemon registers a custom exit command, which cause the loop to stop. Catch this case before printing "Failed to read line" as this is an expected case.
epee - is a small library of helpers, wrappers, tools and and so on, used to make my life easier.