summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Terpstra <jht@samba.org>1998-10-29 10:17:00 +0000
committerJohn Terpstra <jht@samba.org>1998-10-29 10:17:00 +0000
commit7eaf47853ea2f48702847c81a9ec7cd351a3079b (patch)
treeabb8e3f1342956b9946347f444530341fe64a942
parent00c83ea4ab474c67e853dbf998710367b9272467 (diff)
downloadsamba-7eaf47853ea2f48702847c81a9ec7cd351a3079b.tar.gz
Fixed spec file entry that was causing the CDRom installer to generate
a message claiming that package installation had failed when it really did work. The error was caused by the killall command being used where there is no /proc for it to work on.
-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 64ef9a7f5d4..5505931626a 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 a9370ae4aba..3693d22ccac 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