diff --git a/docs/signal-safe-tracing.md b/docs/signal-safe-tracing.md index bb8e57a..950c257 100644 --- a/docs/signal-safe-tracing.md +++ b/docs/signal-safe-tracing.md @@ -223,9 +223,6 @@ int main() { std::size_t res = fread(&frame, sizeof(frame), 1, stdin); if(res == 0) { break; - } else if(res == -1) { - perror("Something went wrong while reading from the pipe"); - break; } else if(res != 1) { std::cerr<<"Something went wrong while reading from the pipe"<