mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6172] [MERGED] bugfix: print version to stderr on startup #5855
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5855
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/6172
Author: @kmk3
Created: 1/28/2024
Status: ✅ Merged
Merged: 1/31/2024
Merged by: @kmk3
Base:
master← Head:fix-version-stdout📝 Commits (1)
ebc9662bugfix: print version to stderr on startup📊 Changes
3 files changed (+8 additions, -8 deletions)
View changed files
📝
src/firejail/firejail.h(+1 -1)📝
src/firejail/main.c(+3 -3)📝
src/firejail/usage.c(+4 -4)📄 Description
Unlike the rest of the normal startup output (which goes to stderr), the
version number is being printed to stdout, which makes it harder to
ignore all of firejail's output. Example:
So make the normal startup version output go to stderr and keep the
other occurrences (such as in
firejail --version) going to stdout, tomake it easier to grep things in the output.
Added on commit
f019f0ec3("Print version on startup forfirejail/firecfg", 2023-05-11) / PR #5829.
Reported by @rusty-snake[1].
[1] https://github.com/netblue30/firejail/issues/6171#issuecomment-1912768721
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.