#!/bin/bash

if [ "$1" = "that-one-ring" ]; then
    echo Yes.
else
    echo No.
fi

#!/bin/bash

if [ "$1" = "that-one-ring" ]; then
    echo Yes.
else
    echo No.
    exit 1
fi

Return failing code in failure case.
Return failing code in failure case.
