[SCM] Samba Shared Repository - branch v3-3-stable updated -
release-3-3-0rc2-86-ga1bf1f1
Karolin Seeger
kseeger at samba.org
Mon Jan 5 13:58:02 GMT 2009
The branch, v3-3-stable has been updated
via a1bf1f1819ab184682327583d05b0258db8856ef (commit)
from 8a79b8796f98dd80b6e1f04d7302fb8342f0052d (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-stable
- Log -----------------------------------------------------------------
commit a1bf1f1819ab184682327583d05b0258db8856ef
Author: Karolin Seeger <kseeger at samba.org>
Date: Mon Jan 5 14:54:28 2009 +0100
examples: Avoid bashism in perfcount.init.
This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.
Karolin
(cherry picked from commit 73875cd344608b591fa884ab99b5f3a10550c149)
(cherry picked from commit e273c07e94ee607bbf05b6fa66cf3cea13fe4502)
-----------------------------------------------------------------------
Summary of changes:
examples/perfcounter/perfcountd.init | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/examples/perfcounter/perfcountd.init b/examples/perfcounter/perfcountd.init
index 683e913..8a89fad 100755
--- a/examples/perfcounter/perfcountd.init
+++ b/examples/perfcounter/perfcountd.init
@@ -21,15 +21,15 @@
PATH=/bin:/usr/bin:/sbin:/usr/sbin
-killproc()
+killproc()
{
pid=`ps aux | grep $1 | egrep -v '(grep|perfcountd)' | awk '{print $2}'`
- if [ "$pid" != "" ]; then
+ if [ -z "$pid" ]; then
kill $pid
fi
}
-# Start/stop processes
+# Start/stop processes
case "$1"
in
--
Samba Shared Repository
More information about the samba-cvs
mailing list