aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/database.c b/src/database.c
index 1fed8ddcf..413aebdfa 100644
--- a/src/database.c
+++ b/src/database.c
@@ -315,13 +315,11 @@ db_load(void)
tempCharset = path_get_fs_charset();
if (tempCharset != NULL
&& strcmp(fsCharset, tempCharset)) {
- g_message("Using \"%s\" for the "
- "filesystem charset "
+ g_message("Existing database has charset \"%s\" "
"instead of \"%s\"; "
- "maybe you need to "
- "recreate the db?",
- fsCharset, tempCharset);
- path_set_fs_charset(fsCharset);
+ "discarding database file",
+ fsCharset, tempCharset);
+ return false;
}
} else
g_error("unknown line in db info: %s",