Skip to content

Commit 1f6c058

Browse files
committed
Only shutdown if components are flashed
1 parent d474510 commit 1f6c058

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,11 @@ fn inner() -> Result<()> {
250250
};
251251

252252
if c == '\n' || c == '\r' {
253-
shutdown = true;
254253
success = true;
255254
for (component, validation) in components.iter().zip(validations.iter()) {
256255
if *validation == ValidateKind::Found {
256+
// Only shutdown if components are flashed
257+
shutdown = true;
257258
match component.flash() {
258259
Ok(()) => {
259260
println!("{}: Success", component.name());

0 commit comments

Comments
 (0)