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

false sets last_status to 0 #38

Closed
ddevault opened this issue Sep 30, 2018 · 2 comments
Closed

false sets last_status to 0 #38

ddevault opened this issue Sep 30, 2018 · 2 comments

Comments

@ddevault
Copy link
Contributor

false
echo $?

It seems that the false command is creating five distinct task lists, and the genuine status gets lost in the muck.

@ddevault
Copy link
Contributor Author

Actually this happens when calculating PS1. Makes more sense.

@emersion
Copy link
Owner

Fixed in 4f838e9

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

No branches or pull requests

2 participants