Added a check for config-file.

This commit is contained in:
unknown 2005-04-26 17:57:14 +03:00
parent 4e0dfceba4
commit 0cb38f647a

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;