Update stress.sh

This commit is contained in:
AUnicornWithNoLife 2023-05-11 21:47:44 +01:00
parent 8e37b9b293
commit 4ea9a8d806

View File

@ -57,7 +57,7 @@ for (( i = 0; i < ITERATIONS; i++ )); do
if [[ $exit_code -eq 139 ]]; then
echo "Segfault detected!"
echo "Arguments: $arguments" >> "$LOG_FILE"
break
exit 1 # Exit the script with an error
fi
echo "-----------------------------------------"
done