Fix for config.pl if no arguments are passed

This commit is contained in:
Simon Butcher
2016-06-26 15:44:20 +01:00
parent ab069c6b46
commit 3d26513650
+3
View File
@@ -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) {