I did check master build with fix applied, it seem to work as intended:
```
$ cd assemblies/apache-karaf/target/assembly/bin
$ ./start
$ ./client instance:list
client: JAVA_HOME not set; results may vary
Logging in as karaf
SSH Port │ SSH Host │ RMI Registry │ RMI Registry Host │ RMI Server │ RMI 
Server Host │ State   │ PID   │ Name
─────────┼──────────┼──────────────┼───────────────────┼────────────┼─────────────────┼─────────┼───────┼─────
    8101 │  0.0.0.0 │         1099 │         127.0.0.1 │      44444 │       
127.0.0.1 │ Started │ 31653 │ root
$ echo $?
0
$ ./client non-existent-command
client: JAVA_HOME not set; results may vary
Logging in as karaf
Command not found: non-existent-command
$ echo $?
1
```

[ Full content available at: https://github.com/apache/karaf/pull/600 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to