summaryrefslogtreecommitdiffstats
path: root/common/common-scripts/src/main/resources/scripts/killScript
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-10-17 11:30:06 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-10-19 09:42:59 +0000
commit44bbc13b88b2d0aed117178e9dc5da7cab4246ee (patch)
tree84a80b40de9c00112f48b8beae541c12a6b3410c /common/common-scripts/src/main/resources/scripts/killScript
parente038e92d86fce2df7e50071436ceac5cf0a9ba24 (diff)
HONEYCOMB-157: fix honeycomb-kill script
Change-Id: I10c5446d17cecec00188dc69389bbc85c90ce652 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'common/common-scripts/src/main/resources/scripts/killScript')
-rw-r--r--common/common-scripts/src/main/resources/scripts/killScript2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/common-scripts/src/main/resources/scripts/killScript b/common/common-scripts/src/main/resources/scripts/killScript
index a32aaa6b6..b7fe0ec8b 100644
--- a/common/common-scripts/src/main/resources/scripts/killScript
+++ b/common/common-scripts/src/main/resources/scripts/killScript
@@ -1,2 +1,2 @@
#!/bin/sh -
-kill `ps aux | grep 'java.*honeycomb' | awk '{print \$2}' \ No newline at end of file
+kill `ps aux | grep '${pattern}' | grep -v grep | awk '{print \$2}'` \ No newline at end of file