Skip to content

tool_operate: remove 'else' for VMS - #20221

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/operate-vms
Closed

tool_operate: remove 'else' for VMS#20221
bagder wants to merge 1 commit into
masterfrom
bagder/operate-vms

Conversation

@bagder

@bagder bagder commented Jan 8, 2026

Copy link
Copy Markdown
Member

It seems malplaced as it then avoids the following logic when invoked from a VMS shell and that seems unlikely to be desired.

Based on code review. I have no system to try this on.

Follow-up to f1261bc

It seems malplaced as it then avoids the following logic when invoked
from a VMS shell and that seems unlikely to be desired.

Based on code review. I have no system to try this on.

Follow-up to f1261bc
@bagder
bagder marked this pull request as ready for review January 8, 2026 17:10
@bagder
bagder requested a review from Copilot January 8, 2026 17:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes a misplaced else statement following a VMS-specific preprocessor block, ensuring that error handling logic executes correctly on VMS systems. The change is a follow-up to commit f1261bc and fixes a control flow issue where the removed else was preventing subsequent error handling code from running when invoked from a VMS shell.

Key Changes:

  • Removed the else keyword that was incorrectly positioned after the #endif of a VMS-specific conditional compilation block
  • Adjusted indentation of the error handling logic to reflect the corrected control flow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bagder bagder closed this in 8a25cf3 Jan 8, 2026
@bagder
bagder deleted the bagder/operate-vms branch January 8, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants