Skip to content

Commit

Permalink
break when there's nothing to read (#2582)
Browse files Browse the repository at this point in the history
Signed-off-by: Wang, Yi A <yi.a.wang@intel.com>
  • Loading branch information
sywangyi authored Oct 21, 2024
1 parent 7f54b73 commit 058d306
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions launcher/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,8 @@ fn log_lines<R: Sized + Read>(mut bufread: BufReader<R>) {
}
}
}
} else {
break;
}
}
}
Expand Down

0 comments on commit 058d306

Please sign in to comment.