aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionelmiquel@sfr.fr>2021-02-03 20:47:58 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-02-03 20:47:58 +0100
commit8927d439552962b5baade7f4dbf53bb088b13eb7 (patch)
treef70f7075d5a78882c897feed9c2991d753eea475
parentc97080fc5e3f9b76ae3fdfbea6ffd353642abdf1 (diff)
downloadpass.bat-8927d439552962b5baade7f4dbf53bb088b13eb7.tar.gz
pass.bat-8927d439552962b5baade7f4dbf53bb088b13eb7.zip
fix `where gpg` check
-rw-r--r--pass.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/pass.bat b/pass.bat
index 1f731ee..e41a1ea 100644
--- a/pass.bat
+++ b/pass.bat
@@ -1,7 +1,7 @@
@echo off
where gpg.exe >nul 2>nul
-IF NOT ERRORLEVEL 0 (
+IF NOT %ERRORLEVEL% EQU 0 (
echo GPG isn't installed. Exiting...
exit 1
)