summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-05-12 11:45:37 +0100
committerPeter Powell <petpow@saberuk.com>2019-05-12 11:51:05 +0100
commit29f425402927eb07913e9162dd4a230db68ff2e4 (patch)
treec1de36380b921ae8b84b7c8c5006278477b35f98 /configure
parent5e488681d4cc4e4c7217caeab3254cbd8a4760a5 (diff)
Fix configure not failing when invalid flags are passed to it.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 26f8146e7..1a8984567 100755
--- a/configure
+++ b/configure
@@ -74,7 +74,7 @@ sub disable_extras (@);
my @opt_enableextras;
my @opt_disableextras;
-GetOptions(
+exit 1 unless GetOptions(
'clean' => \&cmd_clean,
'help' => \&cmd_help,
'update' => \&cmd_update,