[
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: 10.5.1.1
> 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 shell.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.