Bash Check Retour de la commande et non d'erreur

if command ; then
    echo "Command succeeded"
else
    echo "Command failed"
fi
steamboatid