#!/bin/bash set -e rc=0 mysql_root_passwd || rc=1 if [ $rc -eq 0 ]; then zenity --info --text="All is Ok" else zenity --info --text="All is evil" fi exit 0