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:
@ -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;
|
||||
|
Reference in New Issue
Block a user