commit | 36b0c55cad118af77f6adae94e73807b23cd26db | [log] [tgz] |
---|---|---|
author | Simon Butcher <simon.butcher@arm.com> | Thu Jun 23 21:57:06 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Jun 23 21:57:06 2016 +0100 |
tree | 5359e3dab783e2a89aad05f15d333c4527d8d268 | |
parent | e7be5bdb968c33322857034c78263065575f5eff [diff] |
Fix for config.pl if no arguments are passed
diff --git a/scripts/config.pl b/scripts/config.pl index 6f11d0e..8921a87 100755 --- a/scripts/config.pl +++ b/scripts/config.pl
@@ -145,6 +145,9 @@ } } +# If no command was specified, exit... +if ( not defined($action) ){ die $usage; } + # Check the config file is present if (! -f $config_file) {