diff --git a/services/bao-console/src/cmds/test.rs b/services/bao-console/src/cmds/test.rs index c9fabca38..e39137623 100644 --- a/services/bao-console/src/cmds/test.rs +++ b/services/bao-console/src/cmds/test.rs @@ -30,6 +30,7 @@ impl<'a> ShellCmdApi<'a> for Test { let keystore = keystore::Keystore::new(&_env.xns); if args.len() != 1 { write!(ret, "bootwait [check | enable | disable]").ok(); + return Ok(Some(ret)); } if args[0] == "check" { write!(ret, "bootwait is {:?}", keystore.bootwait(None).unwrap()).ok();