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

gosu --version return value is 1 #54

Closed
jakub-bochenski opened this issue Jan 14, 2019 · 2 comments
Closed

gosu --version return value is 1 #54

jakub-bochenski opened this issue Jan 14, 2019 · 2 comments

Comments

@jakub-bochenski
Copy link

$ gosu --version; echo $?
Usage: gosu user-spec command [args]
   ie: gosu tianon bash
       gosu nobody:root bash -c 'whoami && id'
       gosu 1000:1 id

gosu version: 1.10 (go1.7.4 on linux/amd64; gc)
     license: GPL-3 (full text at https://github.com/tianon/gosu)

1

This is rather weird, also it makes the instructions at https://github.com/tianon/gosu/blob/master/INSTALL.md#from-alpine-37 fail

@tianon
Copy link
Owner

tianon commented Jan 14, 2019

That's because --version wasn't added until 1.11.

@jakub-bochenski
Copy link
Author

jakub-bochenski commented Jan 14, 2019

Sorry about that, I didn't notice I'm on 1.10

EDIT: BTW fastest response I ever got in OSS :)

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