- others=2029,2032,2033,2054,2164,
- shellcheck -W 999 -x -e $quotes,$others "$@" || ret=$?
+ others=2029,2032,2033,2054,2164
+ # Dont complain about sourced files if we aren't asking for them.
+ if [[ $1 != -x ]]; then
+ others+=,1091
+ fi
+ shellcheck -W 999 -e $quotes,$others "$@" || ret=$?