[ 
https://issues.apache.org/jira/browse/PHOENIX-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378615#comment-14378615
 ] 

Mark Tse commented on PHOENIX-1770:
-----------------------------------

I actually couldn't use `exit` or `sys.exit` without importing `sys` when I was 
trying out `exit`, so I assumed it's using the `sys` module. I'll switch to 
using `sys.exit` to be safe.

> psql.py returns 0 even if an error has occurred
> -----------------------------------------------
>
>                 Key: PHOENIX-1770
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1770
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.3
>            Reporter: Mark Tse
>             Fix For: 4.3.1
>
>         Attachments: PHOENIX-1770-psql.patch
>
>
> psql.py should exit with the return code provided by 
> `subprocess.check_call(java_cmd, shell=True)`.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to