db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4283) setEmbeddedCP should not exit on error
Date Fri, 03 Jul 2009 14:44:47 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726989#action_12726989

Dag H. Wanvik commented on DERBY-4283:

I tried with "return 1" and it did set the status in the sourcing shell, so the condition
could be checked,
so I think the fix suggestion is good, thanks, Susumu.

Triaged for 10.5.2, setting urgency to "normal", checking "newcomer", "known fix".

> setEmbeddedCP should not exit on error
> --------------------------------------
>                 Key: DERBY-4283
>                 URL: https://issues.apache.org/jira/browse/DERBY-4283
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions:
>         Environment: cygwin on windows (bash)
>            Reporter: Susumu Ishizuka
>            Priority: Minor
> setEmbeddedCP should use 'return' instead of 'exit' if DERBY_HOME was not set.
> Because this script will be sourced from a shell, use of exit will terminate the calling

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message