Unverified Commit 058d3061 authored by Wang, Yi's avatar Wang, Yi Committed by GitHub
Browse files

break when there's nothing to read (#2582)


Signed-off-by: default avatarWang, Yi A <yi.a.wang@intel.com>
parent 7f54b733
......@@ -1104,6 +1104,8 @@ fn log_lines<R: Sized + Read>(mut bufread: BufReader<R>) {
}
}
}
} else {
break;
}
}
}
......
Markdown is supported
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