Bugfix: duplicated region in textFail message.

This commit is contained in:
Pablo Pagani
2021-09-23 14:05:20 -03:00
committed by GitHub
parent fad06ef5c0
commit 11deceb9e6

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