Better error message if the output tileset already exists

This commit is contained in:
Eric Fischer
2018-12-13 11:20:06 -08:00
parent 45fbdf43c5
commit 28f773a933
7 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -1049,7 +1049,7 @@ int main(int argc, char **argv) {
outdb = mbtiles_open(out_mbtiles, argv, 0);
}
if (out_dir != NULL) {
check_dir(out_dir, force, false);
check_dir(out_dir, argv, force, false);
}
struct stats st;