Skip to content

Conversation

@ChrisDryden
Copy link
Collaborator

@ChrisDryden ChrisDryden commented Dec 17, 2025

I am trying to split up this #9628 PR to make the changes easier to review.

This change just adds a helper function that reads the env variable POSIXLY_CORRECT and uses that helper function to determine the error code that is used when returning an error. There are two other bugs apart from the file permission PR that would rely on this being merged first.

@github-actions
Copy link

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/misc/nohup is no longer failing!

Co-authored-by: Daniel Hofstetter <[email protected]>
@github-actions
Copy link

GNU testsuite comparison:

Congrats! The gnu test tests/misc/nohup is no longer failing!

@cakebaker cakebaker merged commit b4b08e9 into uutils:main Dec 18, 2025
168 of 171 checks passed
@cakebaker
Copy link
Contributor

Congrats! The gnu test tests/misc/nohup is no longer failing!

Kudos, thanks!

CrazyRoka pushed a commit to CrazyRoka/coreutils that referenced this pull request Dec 28, 2025
* nohup: use POSIXLY_CORRECT to determine failure exit code

* Update env value checking

Co-authored-by: Daniel Hofstetter <[email protected]>

---------

Co-authored-by: Daniel Hofstetter <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants