Fix for config.pl if no arguments are passed
This commit is contained in:
parent
e7be5bdb96
commit
36b0c55cad
1 changed files with 3 additions and 0 deletions
|
@ -145,6 +145,9 @@ while ($arg = shift) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# If no command was specified, exit...
|
||||||
|
if ( not defined($action) ){ die $usage; }
|
||||||
|
|
||||||
# Check the config file is present
|
# Check the config file is present
|
||||||
if (! -f $config_file) {
|
if (! -f $config_file) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue