1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net/openmq/files/patch-imqbrokerd
2017-11-10 17:33:31 +00:00

17 lines
409 B
Plaintext

--- src/solaris/bin/imqbrokerd.sh.orig 2011-05-11 17:31:10 UTC
+++ src/solaris/bin/imqbrokerd.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -T
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
#
@@ -55,6 +55,7 @@ shutdown_broker() {
# The broker's shutdown hooks will make sure it exits cleanly
if [ -n "$_javapid" ]; then
kill -TERM $_javapid
+ wait $_javapid
fi
}