aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-06-02 14:33:55 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-06-02 14:33:55 +0100
commit121d913ed8b7e6635bee69f0382524c54edf22df (patch)
tree0496bf3474ad36b581e6788188af18a9678718b7
parent8927d439552962b5baade7f4dbf53bb088b13eb7 (diff)
downloadpass.bat-121d913ed8b7e6635bee69f0382524c54edf22df.tar.gz
pass.bat-121d913ed8b7e6635bee69f0382524c54edf22df.zip
don't exit brutally
-rw-r--r--pass.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/pass.bat b/pass.bat
index e41a1ea..d5e0c2b 100644
--- a/pass.bat
+++ b/pass.bat
@@ -3,7 +3,7 @@
where gpg.exe >nul 2>nul
IF NOT %ERRORLEVEL% EQU 0 (
echo GPG isn't installed. Exiting...
- exit 1
+ exit /B 1
)
for /F "tokens=1,* delims=:" %%a in ('chcp') do set ORIGCP=%%b