Fix duplicated region in textFail message for extra741 @pablopagani

Fix duplicated region in textFail message for extra741 @pablopagani
This commit is contained in:
Toni de la Fuente
2021-09-28 17:27:51 +02:00
committed by GitHub

View File

@@ -50,7 +50,7 @@ extra741(){
# delete file if nothing interesting is there
rm -f "$EC2_USERDATA_FILE"
else
textFail "$regx: Potential secret found in $instance User Data" "$regx" "$regx" "$instance"
textFail "$regx: Potential secret found in $instance User Data" "$regx" "$instance"
# delete file to not leave trace, user must look at the instance User Data
rm -f "$EC2_USERDATA_FILE"
fi