Fix incorrect error message when unable to create gamestatdir

This commit is contained in:
eleksir
2021-07-05 13:54:27 +03:00
parent cf71cd7f6f
commit 66f64da5c6

View File

@@ -60,7 +60,7 @@ sub SeedArtifacts {
$tablename = lc ($tablename); $tablename = lc ($tablename);
unless (-d $gamestatdir) { unless (-d $gamestatdir) {
make_path ($gamestatdir) || die "Unable to create $dir: $OS_ERROR\n"; make_path ($gamestatdir) || die "Unable to create $gamestatdir: $OS_ERROR\n";
} }
my $dbh = DBI->connect ("dbi:SQLite:$dbfile", '', ''); my $dbh = DBI->connect ("dbi:SQLite:$dbfile", '', '');