mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-04 01:24:09 +02:00
no hard error when datadir cant be deleted
its probably gone already
This commit is contained in:
parent
67dcfaf1df
commit
68d44b0039
1 changed files with 5 additions and 2 deletions
|
|
@ -261,9 +261,12 @@ impl Cloud {
|
|||
.remove_network(&self.network)
|
||||
.await
|
||||
.wrap_err("Failed to remove network")?;
|
||||
remove_dir_all(self.workdir)
|
||||
if let Err(e) = remove_dir_all(self.workdir)
|
||||
.await
|
||||
.wrap_err("Failed to remove work directory")?;
|
||||
.wrap_err("Failed to remove work directory")
|
||||
{
|
||||
eprintln!("{}", e);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue