accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [1/2] git commit: ACCUMULO-2355 Shell should not log UserInterruptedException
Date Wed, 26 Feb 2014 21:52:37 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 6780a6970 -> 160aaf893


ACCUMULO-2355 Shell should not log UserInterruptedException

Signed-off-by: Christopher Tubbs <ctubbsii@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/96d86621
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/96d86621
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/96d86621

Branch: refs/heads/master
Commit: 96d86621837d648afb130fe259a6f6cca700accc
Parents: 818426c
Author: jpmcnamee <jpm34@terpmail.umd.edu>
Authored: Tue Feb 25 09:06:48 2014 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Wed Feb 26 16:44:42 2014 -0500

----------------------------------------------------------------------
 core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/96d86621/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java b/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
index faded56..8ea82d4 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
@@ -693,6 +693,8 @@ public class Shell extends ShellOptions {
         }
         if (sc != null)
           sc.printHelp(this);
+      } catch (UserInterruptException e) {
+        ++exitCode;
       } catch (Exception e) {
         ++exitCode;
         printException(e);


Mime
View raw message