Added a check for config-file.
This commit is contained in:
parent
4e0dfceba4
commit
0cb38f647a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user