From 7868904c3b013028b3a4180a4cd4eadc40130f27 Mon Sep 17 00:00:00 2001 From: Joaquin Rinaudo Date: Wed, 26 Aug 2020 23:59:02 +0200 Subject: [PATCH] Fix getops OPTARG for custom checks Custom checks in folder are not being sourced. `./prowler -c extra800 -x custom` results in empty EXTERNAL_CHECKS_PATH variables due to missing colon. The fix was tested in both OSX and toniblyx/prowler:latest Docker. Regards, --- prowler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prowler b/prowler index 45d52f6a..3c87ab8d 100755 --- a/prowler +++ b/prowler @@ -96,7 +96,7 @@ USAGE: exit } -while getopts ":hlLkqp:r:c:g:f:m:M:E:enbVsSxI:A:R:T:w:" OPTION; do +while getopts ":hlLkqp:r:c:g:f:m:M:E:x:enbVsSI:A:R:T:w:" OPTION; do case $OPTION in h ) usage