summaryrefslogtreecommitdiff
path: root/packaging/Solaris/preremove
diff options
context:
space:
mode:
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