From 70d073cbf16928aabafdf37d093712109c0a7867 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Mon, 5 Nov 2007 22:58:16 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1240 d1b88da0-ebda-0310-925b-ed51d893ca5b --- Scripts/sogod-wrapper | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Scripts/sogod-wrapper b/Scripts/sogod-wrapper index 5c225e6e..f0edd595 100755 --- a/Scripts/sogod-wrapper +++ b/Scripts/sogod-wrapper @@ -21,7 +21,12 @@ # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. -PIDFILE=/var/run/sogo/sogod.$1 +if [ -z "$1" ] +then + PIDFILE=/var/run/sogo/sogod.pid +else + PIDFILE=/var/run/sogo/sogod.$1 +fi if [ -d /usr/lib/GNUstep ] then -- 2.39.5