File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
hbase-server/src/main/java/org/apache/hadoop/hbase/util Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -141,15 +141,13 @@ public static void logProcessInfo(Configuration conf) {
141141 }
142142
143143 /**
144- * Parse and run the given command line. This may exit the JVM if
145- * a nonzero exit code is returned from <code>run()</code>.
144+ * Parse and run the given command line. This will exit the JVM with
145+ * the exit code returned from <code>run()</code>.
146146 */
147147 public void doMain (String args []) {
148148 try {
149149 int ret = ToolRunner .run (HBaseConfiguration .create (), this , args );
150- if (ret != 0 ) {
151- System .exit (ret );
152- }
150+ System .exit (ret );
153151 } catch (Exception e ) {
154152 LOG .error ("Failed to run" , e );
155153 System .exit (-1 );
You can’t perform that action at this time.
0 commit comments