forked from nmap/npcap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set sane return codes for fixinstall and checkstatus
- Loading branch information
1 parent
5228f82
commit 64af882
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ goto ABORT | |
|
||
:FIXINSTALL | ||
"%NPCAP_DIR%\FixInstall.bat" | ||
exit /b %ERRORLEVEL% | ||
|
||
:ABORT | ||
exit /b 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,5 +76,7 @@ goto EOF | |
|
||
:ABORT | ||
echo "Unable to find or fix your installation" | ||
exit /b 1 | ||
|
||
:EOF | ||
exit /b 0 |