Skip to content

Commit

Permalink
Set sane return codes for fixinstall and checkstatus
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Sep 8, 2021
1 parent 5228f82 commit 64af882
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions installer/CheckStatus.bat
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ goto ABORT

:FIXINSTALL
"%NPCAP_DIR%\FixInstall.bat"
exit /b %ERRORLEVEL%

:ABORT
exit /b 0
2 changes: 2 additions & 0 deletions installer/FixInstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,7 @@ goto EOF

:ABORT
echo "Unable to find or fix your installation"
exit /b 1

:EOF
exit /b 0

0 comments on commit 64af882

Please sign in to comment.