You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2014/02/26 22:51:45 UTC
git commit: ACCUMULO-2355 Shell should not log
UserInterruptedException
Repository: accumulo
Updated Branches:
refs/heads/1.6.0-SNAPSHOT 818426c3a -> 96d866218
ACCUMULO-2355 Shell should not log UserInterruptedException
Signed-off-by: Christopher Tubbs <ct...@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/1.6.0-SNAPSHOT
Commit: 96d86621837d648afb130fe259a6f6cca700accc
Parents: 818426c
Author: jpmcnamee <jp...@terpmail.umd.edu>
Authored: Tue Feb 25 09:06:48 2014 -0500
Committer: Christopher Tubbs <ct...@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);