Fix reported exit code being always 0

pull/1/head
trivernis 5 years ago
parent 5cb68073bf
commit e5489e49a5

@ -120,7 +120,7 @@ impl Runtime {
.borrow_mut() .borrow_mut()
.set_state(StateStripCommand::Off) .set_state(StateStripCommand::Off)
.unwrap(); .unwrap();
return Ok(0); return Ok(code);
} }
self.current_index += 1; self.current_index += 1;

Loading…
Cancel
Save