[PR #418] [MERGED] fix: when no command-line is passed, a warn could be emitted in some … #465

Closed
opened 2026-05-07 00:21:03 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/418
Author: @speed47
Created: 9/20/2023
Status: Merged
Merged: 9/20/2023
Merged by: @speed47

Base: masterHead: fixgetopt


📝 Commits (1)

  • 5198209 fix: when no command-line is passed, a warn could be emitted in some cases

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 bin/shell/osh.pl (+1 -1)

📄 Description

…cases

This depends on the version of Perl libs, but in any case we shouldn't pass an undef var to GetOptionsFromString, ensure this never happens


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ovh/the-bastion/pull/418 **Author:** [@speed47](https://github.com/speed47) **Created:** 9/20/2023 **Status:** ✅ Merged **Merged:** 9/20/2023 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `fixgetopt` --- ### 📝 Commits (1) - [`5198209`](https://github.com/ovh/the-bastion/commit/51982092e02ccdc6f3935e5367f82f27f6f4eebd) fix: when no command-line is passed, a warn could be emitted in some cases ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `bin/shell/osh.pl` (+1 -1) </details> ### 📄 Description …cases This depends on the version of Perl libs, but in any case we shouldn't pass an undef var to GetOptionsFromString, ensure this never happens --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:21:03 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/the-bastion#465
No description provided.