Closed minnoroth closed 1 year ago
After looking into the code I found that it's a feature: https://github.com/WrenSecurity/wrends/blob/f365f131bc9c17fb2dd9e1ea2d080e498311e9da/opendj-server-legacy/src/main/java/org/opends/server/tools/status/StatusCli.java#L333
User needs to provide credentials in order to get exit code 0:
./status -ns -D "cn=Directory Manager -w "password"
I guess we can close this as invalid issue. Would be nice to have documentation with this information, but that should be handled separately.
When calling for status of DS i'm getting an exit code 6 as a return.
./status -ns
Get exit code in bash:
echo $?
6