summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/lib.rs2
-rw-r--r--ipc/src/lib.rs1
2 files changed, 1 insertions, 2 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 955496a1..a3b6010e 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -24,7 +24,6 @@ extern crate tempdir;
extern crate failure;
use std::fmt;
-use std::fs;
use std::io;
use std::path::{Path, PathBuf};
use tempdir::TempDir;
@@ -221,7 +220,6 @@ impl Config {
format_err!("Failed to get users home directory"))?
.join(".sequoia");
}
- fs::create_dir_all(c.home())?;
}
Ok(c)
}
diff --git a/ipc/src/lib.rs b/ipc/src/lib.rs
index 70ef3cf1..a9a89b82 100644
--- a/ipc/src/lib.rs
+++ b/ipc/src/lib.rs
@@ -149,6 +149,7 @@ impl Descriptor {
Ok(rpc_system)
};
+ fs::create_dir_all(self.ctx.home())?;
let mut file = fs::OpenOptions::new()
.read(true)
.write(true)