Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command -v nonexistent should exit 127 #8547

Closed
floam opened this issue Dec 12, 2021 · 0 comments
Closed

command -v nonexistent should exit 127 #8547

floam opened this issue Dec 12, 2021 · 0 comments

Comments

@floam
Copy link
Member

floam commented Dec 12, 2021

When the -v or -V options are specified, the following exit values shall be returned:

0 Successful completion.
>0 The command_name could not be found or an error occurred.

Otherwise, the following exit values shall be returned:
126 The utility specified by command_name was found but could not be invoked.
127 An error occurred in the command utility or the utility specified by command_name could not be found.
Otherwise, the exit status of command shall be that of the simple command specified by the arguments to command.

@floam floam added the cleanup label Dec 12, 2021
@floam floam closed this as completed in f464bbe Dec 12, 2021
@faho faho added this to the fish 3.4.0 milestone Dec 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants