Commit 3615be80 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Quit when the input pipe is not responding

parent b5e735bd
......@@ -147,7 +147,7 @@ static void blc_command_interpret_block(){
if (tmp_size==-1)
if (errno==0) exit(EXIT_SUCCESS); //stdin closed
if ((errno==0) || (errno==ETIMEDOUT)) exit(EXIT_SUCCESS); //stdin closed
else EXIT_ON_SYSTEM_ERROR("Command interpret: getline");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment