summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-05-13 15:39:39 +0200
committerJustus Winter <justus@sequoia-pgp.org>2019-05-13 15:39:39 +0200
commitf77e71462d27181760bd1fe4eb5a5b34594e58a2 (patch)
tree32f4bfe328e6b3411f93aa38154b00ba53863a25 /core
parent8f4a7c744ea1363297953718a37774c2824b71b6 (diff)
core, ipc: Defer the creation of the home directory.
- Fixes #271.
Diffstat (limited to 'core')
-rw-r--r--core/src/lib.rs2
1 files changed, 0 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)
}