From 04864c49bf43ed46f71e0a6e452d56fe76fdfce1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 10 Jul 2007 09:19:32 +0000 Subject: [PATCH] Do not generate pazpar2.pid by default, i.e. only generate PID file when -p is given. --- src/pazpar2.c | 4 ++-- test/.cvsignore | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pazpar2.c b/src/pazpar2.c index 806a5ab..bc87e4c 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.91 2007-06-18 12:37:39 adam Exp $ +/* $Id: pazpar2.c,v 1.92 2007-07-10 09:19:32 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -56,7 +56,7 @@ int main(int argc, char **argv) int ret; int log_file_in_use = 0; char *arg; - const char *pidfile = "pazpar2.pid"; + const char *pidfile = 0; const char *uid = 0; if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) diff --git a/test/.cvsignore b/test/.cvsignore index 2c3f25d..cb6a995 100644 --- a/test/.cvsignore +++ b/test/.cvsignore @@ -2,4 +2,3 @@ *.dif Makefile Makefile.in -pazpar2.pid -- 1.7.10.4