commit | 3d26513650f3078c6d82648326052ef02b01e4d6 | [log] [tgz] |
---|---|---|
author | Simon Butcher <simon.butcher@arm.com> | Thu Jun 23 21:57:06 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Sun Jun 26 15:44:20 2016 +0100 |
tree | 934d52269953c634763217a7fff1d0256618e1b2 | |
parent | ab069c6b46d116ac81e8dceb9b3109c445081dbb [diff] [blame] |
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) {