[PR #6972] [MERGED] modif: check for --version during early init #6256

Closed
opened 2026-05-05 10:53:35 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6972
Author: @kmk3
Created: 11/23/2025
Status: Merged
Merged: 12/5/2025
Merged by: @netblue30

Base: masterHead: check-version-init


📝 Commits (1)

  • 907916d modif: check for --version during early init

📊 Changes

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

View changed files

📝 src/firejail/main.c (+6 -9)

📄 Description

Move it from run_cmd_and_exit() to right after the --quiet/--debug
checks.

This simplifies the sandbox check code by removing its own --version
check.

See also commit 5cd597e5d ("fix --version", 2016-06-28).

This is a follow-up to #6969.

Relates to:


🔄 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/netblue30/firejail/pull/6972 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 11/23/2025 **Status:** ✅ Merged **Merged:** 12/5/2025 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `check-version-init` --- ### 📝 Commits (1) - [`907916d`](https://github.com/netblue30/firejail/commit/907916d045eb04070369449e5356f950f04527c1) modif: check for --version during early init ### 📊 Changes **1 file changed** (+6 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/firejail/main.c` (+6 -9) </details> ### 📄 Description Move it from `run_cmd_and_exit()` to right after the --quiet/--debug checks. This simplifies the sandbox check code by removing its own --version check. See also commit 5cd597e5d ("fix --version", 2016-06-28). This is a follow-up to #6969. Relates to: * #7137 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:53:35 -06: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: github-starred/firejail#6256
No description provided.