From 2035c46908b9dc38db26530691accdfad1a9c876 Mon Sep 17 00:00:00 2001 From: "Raryel C. Souza" Date: Wed, 19 Sep 2018 22:31:43 +0700 Subject: [PATCH] Make use of errorMessage function --- app/dislocker-gui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dislocker-gui.sh b/app/dislocker-gui.sh index c8a5e3f..0d0a0c5 100755 --- a/app/dislocker-gui.sh +++ b/app/dislocker-gui.sh @@ -52,7 +52,7 @@ function checkDependencies if ! type dislocker-fuse > /dev/null then - zenity --error --title="Dislocker Not Found" --no-wrap --text="Missing dependency 'Dislocker'. Please install it before using this script. + errorMessage "Missing dependency 'Dislocker'. Please install it before using this script. \n\nFor Ubuntu: sudo apt install dislocker \n\nFor Fedora: sudo dnf install fuse-dislocker" exit;