diff --git a/scripts/config.pl b/scripts/config.pl index 6f11d0ee8..8921a874a 100755 --- a/scripts/config.pl +++ b/scripts/config.pl @@ -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 if (! -f $config_file) {