]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE4-pid_filename_none.patch
- new-style bcond, pl fixes
[packages/squid.git] / squid-2.5.STABLE4-pid_filename_none.patch
1 Index: squid/src/main.c
2 diff -c squid/src/main.c:1.345.2.12 squid/src/main.c:1.345.2.13
3 *** squid/src/main.c:1.345.2.12 Fri Sep 19 00:36:59 2003
4 --- squid/src/main.c    Wed Dec 17 14:10:30 2003
5 ***************
6 *** 832,837 ****
7 --- 832,841 ----
8   {
9       pid_t pid;
10       debug_log = stderr;
11 +     if (strcmp(Config.pidFilename, "none") == 0) {
12 +       debug(0, 1) ("No pid_filename specified. Trusting you know what you are doing.\n");
13 +       return 0;
14 +     }
15       pid = readPidFile();
16       if (pid < 2)
17         return 0;
This page took 0.032813 seconds and 3 git commands to generate.