diff --git a/scripts/progress.sh b/scripts/progress.sh index ea42400..999f78f 100755 --- a/scripts/progress.sh +++ b/scripts/progress.sh @@ -16,7 +16,7 @@ zenity --progress \ --text="Scanning mail logs..." \ --percentage=0 -if [ "$?" = -1 ]; then +if [ $? = 1 ]; then zenity --error \ --text="Update canceled." fi \ No newline at end of file