From 36b0c55cad118af77f6adae94e73807b23cd26db Mon Sep 17 00:00:00 2001 From: Simon Butcher Date: Thu, 23 Jun 2016 21:57:06 +0100 Subject: [PATCH] Fix for config.pl if no arguments are passed --- scripts/config.pl | 3 +++ 1 file changed, 3 insertions(+) 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) {