mirror of
https://github.com/PixlOne/logiops.git
synced 2025-07-13 12:52:42 +08:00
commit
be840b333a
@ -135,6 +135,12 @@ int main(int argc, char** argv) {
|
||||
std::shared_ptr<Configuration> config;
|
||||
std::shared_ptr<InputDevice> virtual_input;
|
||||
|
||||
|
||||
/* Set stdout buff to Null so that loging system like journal
|
||||
* can actually read it.
|
||||
*/
|
||||
setbuf(stdout, NULL);
|
||||
|
||||
// Read config
|
||||
try {
|
||||
config = std::make_shared<Configuration>(options.config_file);
|
||||
|
Loading…
Reference in New Issue
Block a user