Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56112 - java-config should return with error if an error happened
Summary: java-config should return with error if an error happened
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jason A. Mobarak (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 31468
  Show dependency tree
 
Reported: 2004-07-05 00:58 UTC by Gábor Farkas
Modified: 2004-10-18 01:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor Farkas 2004-07-05 00:58:52 UTC
if i try to set a non-existing jvm (example: "java-config -S foo"), then it still returns with error code 0.

this makes the creation of automated scripts hard, because now i need to parse the output of java-config.

Reproducible: Always
Steps to Reproduce:
1.java-config -S foo
Actual Results:  
java-config returned with error/result code 0

Expected Results:  
it should return with a non-zero error/result code
Comment 1 Jason A. Mobarak (RETIRED) gentoo-dev 2004-07-09 23:00:43 UTC
So do you want specific error codes for different errors?
Comment 2 Jason A. Mobarak (RETIRED) gentoo-dev 2004-07-16 21:25:30 UTC
In version 1.2.8, just released.
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-18 01:31:54 UTC
marking fixed