Add notes about the return codes from lodctr.exe and unlodctr.exe - #8091
Conversation
Added remarks about exit code for unlodctr command.
|
@Robo210 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
|
Learn Build status updates of commit 01179fd: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@robinharwood, @Xelu86 #label:"aq-pr-triaged" |
|
Users xelu86 are already assigned. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds clarification about the return codes from lodctr.exe and unlodctr.exe commands. Both utilities return exit code 0 when the command syntax is valid, regardless of whether the operation actually succeeded, which can cause confusion when checking for errors programmatically.
Key Changes:
- Added a Remarks section to both command documentation files explaining that exit code 0 only indicates valid syntax, not successful execution
- Fixed heading level for the Remarks section in lodctr.md from #### to ##
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| unlodctr.md | Added new Remarks section explaining exit code behavior |
| lodctr.md | Corrected Remarks heading level and added exit code clarification |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
This pull request updates documentation for the Documentation improvements:
Metadata updates: |
|
Learn Build status updates of commit fbb02ea: ✅ Validation status: passed
For more details, please refer to the build report. |
|
#sign-off |
There has been some confusion about what it means when unlodctr.exe returns 0 but reports and error to stdout.