1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Added a check for config-file.

This commit is contained in:
jani@ua141d10.elisa.omakaista.fi
2005-04-26 17:57:14 +03:00
parent cdda50acbb
commit 005c447183

View File

@ -87,7 +87,7 @@ sub main
{
$flag_exit= 1;
}
if (!($opt_config_file =~ m/\//))
if (defined($opt_config_file) && !($opt_config_file =~ m/\//))
{
# No path. Use current working directory
$opt_config_file= "./" . $opt_config_file;