summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/att/nsa/mr/tools/MessageCommand.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/mr/tools/MessageCommand.java b/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
index 97216c4..354dc18 100644
--- a/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
+++ b/src/main/java/com/att/nsa/mr/tools/MessageCommand.java
@@ -116,6 +116,7 @@ public class MessageCommand implements Command<MRCommandContext>
{
out.println ( "Problem sending message: " + e.getMessage() );
logger.error("Problem sending message: ", e);
+ Thread.currentThread().interrupt();
}
if ( left != null && left.size () > 0 )
{