Update stress.sh
This commit is contained in:
parent
8e37b9b293
commit
4ea9a8d806
@ -57,7 +57,7 @@ for (( i = 0; i < ITERATIONS; i++ )); do
|
|||||||
if [[ $exit_code -eq 139 ]]; then
|
if [[ $exit_code -eq 139 ]]; then
|
||||||
echo "Segfault detected!"
|
echo "Segfault detected!"
|
||||||
echo "Arguments: $arguments" >> "$LOG_FILE"
|
echo "Arguments: $arguments" >> "$LOG_FILE"
|
||||||
break
|
exit 1 # Exit the script with an error
|
||||||
fi
|
fi
|
||||||
echo "-----------------------------------------"
|
echo "-----------------------------------------"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user