HDDS-583. SCM returns zero as the return code, even when invalid options are passed. Contributed by Namit Maheshwari.

(cherry picked from commit 6a39739316)
This commit is contained in:
Bharat Viswanadham 2018-10-09 15:21:02 -07:00
parent 308c614d4a
commit 056f480093
1 changed files with 1 additions and 1 deletions

View File

@ -513,7 +513,7 @@ public final class StorageContainerManager extends ServiceRuntimeInfoImpl
private static StartupOption parseArguments(String[] args) {
int argsLen = (args == null) ? 0 : args.length;
StartupOption startOpt = StartupOption.HELP;
StartupOption startOpt = null;
if (argsLen == 0) {
startOpt = StartupOption.REGULAR;
}