fix(core): Always initialize input pipe
This commit is contained in:
parent
331c94c248
commit
8c8d5bc4a8
@ -158,7 +158,6 @@ int main(int argc, char **argv)
|
||||
*/
|
||||
std::string pipe_file;
|
||||
|
||||
if (!isatty(STDOUT_FILENO)) {
|
||||
if (cli::has_option("pipe")) {
|
||||
pipe_file = cli::get_option_value("pipe");
|
||||
} else {
|
||||
@ -170,7 +169,6 @@ int main(int argc, char **argv)
|
||||
if (!*fptr)
|
||||
throw ApplicationError(StrErrno());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create and start the main event loop
|
||||
|
Loading…
Reference in New Issue
Block a user