fix(core): Always initialize input pipe

This commit is contained in:
Michael Carlberg 2016-06-02 18:47:26 +02:00
parent 331c94c248
commit 8c8d5bc4a8

View File

@ -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