Reset temp folder perms even if scan fails

Fix #27
This commit is contained in:
nv35 2022-05-04 14:28:18 +02:00 committed by GitHub
parent bdba66714e
commit 8b3805e575
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
#!/bin/bash
set -e
# Finish the script and reset .scannerwork perms even if scan fails
set +e
if [[ -z "${SONAR_TOKEN}" ]]; then
echo "============================ WARNING ============================"