Add error message on failing to create config

This commit is contained in:
Christian Forfang 2018-11-11 17:51:25 +01:00
parent 50552b1197
commit 660f3cf364

View File

@ -1247,6 +1247,7 @@ RootPtr createV6Config(EncFS_Context *ctx,
} }
if (!saveConfig(Config_V6, rootDir, config.get(), opts->config)) { if (!saveConfig(Config_V6, rootDir, config.get(), opts->config)) {
cout << _("Error saving config file.\n");
return rootInfo; return rootInfo;
} }