[PR #124] [MERGED] fix: scripts: (( )) returns 1 if evaluated to zero #257

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

📋 Pull Request Information

Original PR: https://github.com/ovh/the-bastion/pull/124
Author: @speed47
Created: 1/15/2021
Status: Merged
Merged: 1/15/2021
Merged by: @speed47

Base: masterHead: setminuse


📝 Commits (1)

  • d957455 fix: scripts: (( )) returns 1 if evaluated to zero

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 bin/cron/osh-lingering-sessions-reaper.sh (+2 -2)
📝 bin/cron/osh-rotate-ttyrec.sh (+1 -1)

📄 Description

No description provided


🔄 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/124 **Author:** [@speed47](https://github.com/speed47) **Created:** 1/15/2021 **Status:** ✅ Merged **Merged:** 1/15/2021 **Merged by:** [@speed47](https://github.com/speed47) **Base:** `master` ← **Head:** `setminuse` --- ### 📝 Commits (1) - [`d957455`](https://github.com/ovh/the-bastion/commit/d957455e95c575817ffcb864e5d001412f35bdbf) fix: scripts: (( )) returns 1 if evaluated to zero ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `bin/cron/osh-lingering-sessions-reaper.sh` (+2 -2) 📝 `bin/cron/osh-rotate-ttyrec.sh` (+1 -1) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:20:02 +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#257
No description provided.