Commit edd0f818 authored by unknown's avatar unknown

Added a check for config-file.

parent 8c16ca47
......@@ -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;
......
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