Closed Bug 751425 Opened 12 years ago Closed 12 years ago

shell exit code for runtime error differs between -e and -f

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: jruderman, Assigned: sfink)

Details

(Whiteboard: [js:t])

Attachments

(1 file)

I think EXIT_FAILURE is intended to only be used for the shell machinery (argument parsing, etc.); any actual JS error should be EXITCODE_RUNTIME_ERROR (or one of the more specific ones.)
Attachment #621684 - Flags: review?(jimb)
Attachment #621684 - Flags: review?(jimb) → review+
Whiteboard: [js:t]
https://hg.mozilla.org/integration/mozilla-inbound/rev/3656a0a559b2
Assignee: general → sphink
Target Milestone: --- → mozilla15
https://hg.mozilla.org/mozilla-central/rev/3656a0a559b2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: