From bac18cfbfc791a9a3bdb93c5bc0a4e18d186f23f Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Wed, 28 Oct 2015 13:44:29 +0100 Subject: [PATCH] Fix path bug when writing config file to rootdir --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index d86abfbb..dd9e7a78 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -45,6 +45,7 @@ using boost::none; //TODO Improve error message when root blob wasn't found. //TODO Replace ASSERTs with other error handling when it is not a programming error but an environment influence (e.g. a block is missing) //TODO When creating a new filesystem, we need 2x kill to kill the process (probably because we access random values before daemonizing) +//TODO Fuse error messages like "fuse: bad mount point `...': Transport endpoint is not connected" go missing when running in background void showVersion() { cout << "CryFS Version " << version::VERSION_STRING << endl; @@ -82,7 +83,7 @@ string askPassword() { bf::path determineConfigFile(const ProgramOptions &options) { auto configFile = options.configFile(); if (configFile == none) { - return options.baseDir() + "cryfs.config"; + return bf::path(options.baseDir()) / "cryfs.config"; } return *configFile; }