mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
quit fountain generator if error is encountered
This commit is contained in:
parent
ce116c2c0d
commit
fd500927d3
1 changed files with 1 additions and 0 deletions
|
|
@ -175,6 +175,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
||||||
match std::io::Write::write(&mut stream, format!("hello! {}\n", count).as_bytes()) {
|
match std::io::Write::write(&mut stream, format!("hello! {}\n", count).as_bytes()) {
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::info!("fountain write failed with error {:?}", e);
|
log::info!("fountain write failed with error {:?}", e);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue