summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/PHT/TurboLinux/samba2.spec.tmpl2
-rw-r--r--packaging/RedHat/samba2.spec.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/PHT/TurboLinux/samba2.spec.tmpl b/packaging/PHT/TurboLinux/samba2.spec.tmpl
index 64ef9a7f5d..5505931626 100644
--- a/packaging/PHT/TurboLinux/samba2.spec.tmpl
+++ b/packaging/PHT/TurboLinux/samba2.spec.tmpl
@@ -195,7 +195,7 @@ fi
# Add swat entry to /etc/inetd.conf if needed
if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then
echo 'swat stream tcp nowait.400 root /usr/sbin/swat swat' >> /etc/inetd.conf
-killall -1 inetd
+killall -1 inetd || :
fi
%preun
diff --git a/packaging/RedHat/samba2.spec.tmpl b/packaging/RedHat/samba2.spec.tmpl
index a9370ae4ab..3693d22cca 100644
--- a/packaging/RedHat/samba2.spec.tmpl
+++ b/packaging/RedHat/samba2.spec.tmpl
@@ -195,7 +195,7 @@ fi
# Add swat entry to /etc/inetd.conf if needed
if !( grep ^[:space:]*swat /etc/inetd.conf > /dev/null ) then
echo 'swat stream tcp nowait.400 root /usr/sbin/swat swat' >> /etc/inetd.conf
-killall -1 inetd
+killall -1 inetd || :
fi
%preun