Bash CD || Ausfahrt

cd "$foo" || { echo "Error xyz"; exit 1; }
AttractivePenguin