Skip to content

Commit

Permalink
break when there's nothing to read
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 committed Sep 28, 2024
1 parent 5b6b74e commit e1fd951
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 @@ -1063,6 +1063,8 @@ fn log_lines<R: Sized + Read>(mut bufread: BufReader<R>) {
}
}
}
} else {
break;
}
}
}
Expand Down

0 comments on commit e1fd951

Please sign in to comment.