Fix ad_hoc.sh comments

This commit is contained in:
Filipe PINTO 2023-04-14 14:47:12 +02:00 committed by GitHub
parent 2e2eb08e82
commit cc8ed0a9c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ while read -r script ; do
fi
done < <(find . -type f -name "*.sh")
# Check *PS1 error handling at line 2
# Check *PS1 error handling at two first lines
echo "------------------------------------------------------------------------------------------"
while read -r script ; do
if [ "$(head -1 "$script" | grep -c "Set-StrictMode -Version latest" || true)" -eq 0 ] ; then