From 781b9e4fa198c280e3ee2654f525f0254e01bbc0 Mon Sep 17 00:00:00 2001 From: Nuno Cruces Date: Sat, 26 Mar 2022 01:21:21 +0000 Subject: [PATCH] Fix script. --- scripts/progress.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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