Fix script.

This commit is contained in:
Nuno Cruces 2022-03-26 01:21:21 +00:00
parent 0e246b3d91
commit 781b9e4fa1

View File

@ -16,7 +16,7 @@ zenity --progress \
--text="Scanning mail logs..." \
--percentage=0
if [ "$?" = -1 ]; then
if [ $? = 1 ]; then
zenity --error \
--text="Update canceled."
fi