diff --git a/appmgr/src/context/cli.rs b/appmgr/src/context/cli.rs index 59468b049..a19542a0a 100644 --- a/appmgr/src/context/cli.rs +++ b/appmgr/src/context/cli.rs @@ -45,7 +45,7 @@ impl Drop for CliContextSeed { File::create(&tmp).unwrap(), fd_lock_rs::LockType::Exclusive, true, - ); + )?; let store = self.cookie_store.lock().unwrap(); store.save_json(&mut writer).unwrap(); writer.sync_all().unwrap();