diff options
-rw-r--r-- | src/configfile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configfile.cc b/src/configfile.cc index db1316b..192c5ee 100644 --- a/src/configfile.cc +++ b/src/configfile.cc @@ -82,7 +82,7 @@ bool createConfigPath() { const std::string configpath = getConfigPath(); - if(!Directory::exists(configpath)) + if(!Directory::isDir(configpath)) { DEBUG(configfile, "No configuration exists, creating directory '%s'\n", configpath.c_str()); |