Проверка проверки BASH возвращать команду не ошибку
if command ; then
echo "Command succeeded"
else
echo "Command failed"
fi
steamboatid
if command ; then
echo "Command succeeded"
else
echo "Command failed"
fi