Skip to content

cut: set exit code to 1 if directory is specified#5886

Merged
sylvestre merged 2 commits intouutils:mainfrom
cakebaker:cut_set_exit_code
Jan 26, 2024
Merged

cut: set exit code to 1 if directory is specified#5886
sylvestre merged 2 commits intouutils:mainfrom
cakebaker:cut_set_exit_code

Conversation

@cakebaker
Copy link
Contributor

This PR sets the exit code to 1 if a directory is specified and adapts the existing test accordingly. It also ensures there is an exit code of 1 if a non-existing file is specified (the corresponding functionality was already implemented).

@sylvestre sylvestre merged commit e580627 into uutils:main Jan 26, 2024
@cakebaker cakebaker deleted the cut_set_exit_code branch January 26, 2024 13:39
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