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

Zero exit code when trying to upload incorrect profile #1

Closed
chuwy opened this issue Nov 2, 2013 · 2 comments
Closed

Zero exit code when trying to upload incorrect profile #1

chuwy opened this issue Nov 2, 2013 · 2 comments

Comments

@chuwy
Copy link

chuwy commented Nov 2, 2013

When I'm typing cocaine-tool profile upload --name default --profile={pool-limit:4}
Consider absence of quotes in profile arguments.
It fails with following message:
Uploading "default"... [Errno 2] No such file or directory: '{pool-limit:4}'
But, exit code is zero, which tells caller that command was executed succesfully.

@3Hren
Copy link
Member

3Hren commented Nov 2, 2013

Thanks for pointing. Fixed with 4d29fb4 (I guess).

[host]:$ ./cocaine-tool profile upload --name blah --profile={pool-limit:4}
[ FAIL ] Loading profile - [Errno 2] No such file or directory: '{pool-limit:4}'
[Errno 2] No such file or directory: '{pool-limit:4}'

[host]:$ echo $?
128

@chuwy
Copy link
Author

chuwy commented Nov 3, 2013

Yep. Seems ok for me.

@chuwy chuwy closed this as completed Nov 3, 2013
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