diff options
Diffstat (limited to 'src/commands/profile.rs')
-rw-r--r-- | src/commands/profile.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/profile.rs b/src/commands/profile.rs index 98fbc08..951d4b0 100644 --- a/src/commands/profile.rs +++ b/src/commands/profile.rs @@ -18,5 +18,8 @@ async fn profile_create(matches: &ArgMatches) -> Result<()> { let profile = Profile::create(&state_dir, &name, Config::default()).await?; log::info!("Saving..."); - profile.save().await + profile.save().await?; + + log::info!("Shutting down..."); + profile.exit().await } |