You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexander Belyak (Jira)" <ji...@apache.org> on 2022/06/29 07:56:00 UTC

[jira] [Created] (IGNITE-17266) No exit codes from cli

|  ![](cid:jira-generated-image-avatar-fe5164ed-a55c-4c0e-b8bf-56d2636f465a) |
[Alexander
Belyak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=Berkov)
**created** an issue  
---|---  
|  
---  
|  [Ignite](https://issues.apache.org/jira/browse/IGNITE) / [![Bug](cid:jira-
generated-image-
avatar-c00e9024-a3f3-445f-b3f1-63f252cf9b7b)](https://issues.apache.org/jira/browse/IGNITE-17266)
[IGNITE-17266](https://issues.apache.org/jira/browse/IGNITE-17266)  
---  
[No exit codes from cli](https://issues.apache.org/jira/browse/IGNITE-17266)  
| Issue Type: |  ![Bug](cid:jira-generated-image-
avatar-c00e9024-a3f3-445f-b3f1-63f252cf9b7b) Bug  
---|---  
Affects Versions: |  3.0.0-alpha5  
Assignee: |  Unassigned  
Components: |  control.sh  
Created: |  29/Jun/22 07:55  
Priority: |  ![Major](cid:jira-generated-image-static-
major-1fce7bf1-ba1b-4727-9d20-71a06703dca1) Major  
Reporter: |  [Alexander
Belyak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=Berkov)  
|

I expect that ./ignite util returns some meaningful exit codes in case of
error:



    
    
    $ ./ignite node stop n2
    Can't find node with namen2
    $ echo $?
    0
    

or



    
    
    $ ./ignite node stopp n2
    Unmatched arguments from index 1: 'stopp', 'n2'
    Did you mean: stop or list or start?
    $  echo $?
    0
    

Just like the other command-line utils:

    
    
    $ mkdir 
    mkdir: missing operand
    Try 'mkdir --help' for more information.
    $ echo $?
    1
    

  
  
---  
|  |  [ ![Add Comment](cid:jira-generated-image-static-comment-
icon-29483306-c56d-402e-af58-dcd6e6d2aa12)
](https://issues.apache.org/jira/browse/IGNITE-17266#add-comment "Add
Comment") |  [Add
Comment](https://issues.apache.org/jira/browse/IGNITE-17266#add-comment "Add
Comment")  
---|---  
  
|  This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) |  |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)  
---