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
megaglest startscript gives too much output on error #109
Comments
|
hehe well, every non 0 exit code mean "not ok" :P, so problem begins there where MG's exit code is wrong, |
|
digging deeper:
Summing up I am not so sure is it even worth considering to "fix by workaround inside script", because it will be:
... so by now in my opinion enough is that what we have now, namely exceptions for official |
|
I think a simple ldd and grep would help: So no need to do anything depending on the exitcode of the binary. |
|
nope, by this you will kill debug for situations where script itself found library but incompatible e.g. as you reported recently situation with 'wx2.8 & missing wx3.0', after proposed by you changes in this situation we don't have any ... besides this who cares so much what output will someone get in situation when he used wrong parameter, if someone is using parameters (with this fix should be really started as fix inside MG (also because there already exist method of detection for this situation [because you see list of all parameters]), just make a unique exit code for "wrong parameter" (perfect situation will be when every MG's binary will use same unique exit code for this situation) |
When you start mg via command line the startscript adds useless output to the console.
example:
this is ok:
./megaglest --?
the output form this is not ok:
./start_megaglest --?
You get informations about libraries on error which are pretty useless in this case. I suggest that these infos are not displayed for every abnormal returncode.
The text was updated successfully, but these errors were encountered: