Added a check for config-file.

parent cdda50ac
...@@ -87,7 +87,7 @@ sub main ...@@ -87,7 +87,7 @@ sub main
{ {
$flag_exit= 1; $flag_exit= 1;
} }
if (!($opt_config_file =~ m/\//)) if (defined($opt_config_file) && !($opt_config_file =~ m/\//))
{ {
# No path. Use current working directory # No path. Use current working directory
$opt_config_file= "./" . $opt_config_file; $opt_config_file= "./" . $opt_config_file;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment