This is probably simple to fix but I can't seem to find a solution that works on here.
I can't figure out why this if statement is evaluating to true:
#/bin/bash
err="User dimensions query limit exceeded"
if [ "${err}" != "User"* ]; then
echo "In the if statement"
exit 1
fi
I've tried various combinations of parentheses and moving the * about, changing != to -ne etc. but to no avail.
Thanks.