summaryrefslogtreecommitdiff
path: root/packaging/Solaris/preremove
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-10-31 02:32:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:05 -0500
commit2712b8854b4eb01ba5b79141d001d53c043d1413 (patch)
tree6035955aa30fc1e40605e6e2c5b63f5cb1ea1e82 /packaging/Solaris/preremove
parent2d4725cfa6f93c5cf9e355b3b1ad199e7518b531 (diff)
downloadsamba-2712b8854b4eb01ba5b79141d001d53c043d1413.tar.gz
samba-2712b8854b4eb01ba5b79141d001d53c043d1413.tar.bz2
samba-2712b8854b4eb01ba5b79141d001d53c043d1413.zip
r3398: fixing up solaris packaging for 3.0.x
(This used to be commit 7b66980f4fbeac66ea8c3e9c32f1543df923a4a5)
Diffstat (limited to 'packaging/Solaris/preremove')
-rw-r--r--packaging/Solaris/preremove4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/Solaris/preremove b/packaging/Solaris/preremove
index 28e8d75c29..7313b0074f 100644
--- a/packaging/Solaris/preremove
+++ b/packaging/Solaris/preremove
@@ -5,8 +5,8 @@ if [ -z "$PKG_INSTALL_ROOT" ]
then
SMBD=`ps -e -o pid,comm | grep smbd | awk '{print $1}'`
NMBD=`ps -e -o pid,comm | grep nmbd | awk '{print $1}'`
- [ ! -z "$SMBD" ] && kill $SMBD
- [ ! -z "$NMBD" ] && kill $NMBD
+ [ ! -z "$SMBD" ] && kill -TERM $SMBD
+ [ ! -z "$NMBD" ] && kill -TERM $NMBD
sleep 2
fi