Fixed 2148 to not trigger if a shell is specified with `-s`.