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
|  |
[Alexander
Belyak](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=Berkov)
**created** an issue
---|---
|
---
| [Ignite](https://issues.apache.org/jira/browse/IGNITE) / [](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
---|---
Affects Versions: | 3.0.0-alpha5
Assignee: | Unassigned
Components: | control.sh
Created: | 29/Jun/22 07:55
Priority: |  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
---
| | [ 
](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) | |

---