Have a command fail silently, or without breaking the flow.

CMD || true

Optionally hide output.

CMD > /dev/null || true

Or just

set -e

# ...

set +e
CMD
set -e