summaryrefslogtreecommitdiff
path: root/www/xitami/files/patch-ab
blob: 123e0a469c526b40807a7454e19316e452ad4b86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/smt/.vimbk/xitami.c.vimbk	Sat Apr  1 18:11:39 2000
+++ src/smt/xitami.c	Tue Nov  7 10:01:40 2000
@@ -168,7 +168,7 @@
         fclose (stdout);                /*  Kill standard output             */
         fclose (stderr);                /*   and standard error              */
       }
-    else
+    else if (*background == '0')
         puts (COPYRIGHT);
 
     if (*background == '1')
@@ -177,7 +177,7 @@
            *background_args [] = { "-s", NULL };
 
         puts ("Moving into the background");
-        if (process_server (NULL, NULL, argc, argv, background_args) != 0)
+        if (process_server (NULL, "/var/run/xitami.pid", argc, argv, background_args) != 0)
           {
             puts ("Backgrounding failed.  Giving up.");
             exit (EXIT_FAILURE);