diff options
author | Miquel Lionel <lionelmiquel@sfr.fr> | 2021-02-03 20:47:58 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2021-02-03 20:47:58 +0100 |
commit | 8927d439552962b5baade7f4dbf53bb088b13eb7 (patch) | |
tree | f70f7075d5a78882c897feed9c2991d753eea475 | |
parent | c97080fc5e3f9b76ae3fdfbea6ffd353642abdf1 (diff) | |
download | pass.bat-8927d439552962b5baade7f4dbf53bb088b13eb7.tar.gz pass.bat-8927d439552962b5baade7f4dbf53bb088b13eb7.zip |
fix `where gpg` check
-rw-r--r-- | pass.bat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
)
|